Enhanced C#
Language of your choice: library documentation
|
Standard extension methods for ILNodePrinter. More...
Standard extension methods for ILNodePrinter.
Static Public Member Functions | |
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... | |
|
inlinestatic |
Serializes a list of syntax trees to a string in the syntax supported by the specified ILNodePrinter.
References Loyc.Syntax.ILNodePrinter.Print().
|
inlinestatic |
Serializes the specified syntax tree to a string in the syntax supported by the specified ILNodePrinter.
References Loyc.Syntax.ILNodePrinter.Print().
|
inlinestatic |
Converts a sequences of LNodes to strings, adding a line separator between each.
printer | Printer to be used for each single LNode. |
The newline between two nodes is suppressed if the second node has a appendStatement
attribute.
References Loyc.Syntax.ILNodePrinterOptions.NewlineString.
Referenced by Loyc.Syntax.Les.Les2LanguageService.Print(), and Loyc.Ecs.EcsLanguageService.Print().