Standard extension methods for ILNodePrinter.
More...
Source file:
Standard extension methods for ILNodePrinter.
|
| static string | Print (this ILNodePrinter printer, LNode node, IMessageSink?sink=null, ParsingMode?mode=null, ILNodePrinterOptions?options=null) |
| | Serializes the specified syntax tree to a string in the syntax supported by the specified ILNodePrinter. More...
|
| |
| static string | Print (this ILNodePrinter printer, IEnumerable< LNode > nodes, IMessageSink?sink=null, ParsingMode?mode=null, ILNodePrinterOptions?options=null) |
| | Serializes a list of syntax trees to a string in the syntax supported by the specified ILNodePrinter. More...
|
| |
| static StringBuilder | PrintMultiple (ILNodePrinter printer, IEnumerable< LNode > nodes, StringBuilder?sb, IMessageSink?sink, ParsingMode?mode, ILNodePrinterOptions?options) |
| | Converts a sequences of LNodes to strings, adding a line separator between each. More...
|
| |
Serializes the specified syntax tree to a string in the syntax supported by the specified ILNodePrinter.
Serializes a list of syntax trees to a string in the syntax supported by the specified ILNodePrinter.
Converts a sequences of LNodes to strings, adding a line separator between each.
- Parameters
-
| printer | Printer to be used for each single LNode. |
The newline between two nodes is suppressed if the second node has a appendStatement attribute.