Loyc.Syntax.LNodePrinter.Print C# (CSharp) Method

Print() public static method

Serializes a list of syntax trees to a string in the syntax supported by the specified ILNodePrinter.
public static Print ( this printer, IEnumerable nodes, IMessageSink sink = null, ParsingMode mode = null, ILNodePrinterOptions options = null ) : string
printer this
nodes IEnumerable
sink IMessageSink
mode ParsingMode
options ILNodePrinterOptions
return string
		public static string Print(this ILNodePrinter printer, IEnumerable<LNode> nodes, IMessageSink sink = null, ParsingMode mode = null, ILNodePrinterOptions options = null)
		{
			StringBuilder target = new StringBuilder();
			printer.Print(nodes, target, sink, mode, options);
			return target.ToString();
		}

Same methods

LNodePrinter::Print ( this printer, LNode node, IMessageSink sink = null, ParsingMode mode = null, ILNodePrinterOptions options = null ) : string