private EcsLanguageService(bool printPlainCSharp) { if (printPlainCSharp) { _printer = EcsNodePrinter.PrintPlainCSharp; _fileExtensions = _fileExtensionsPlainCs; _name = "Enhanced C# (configured for C# output)"; } }
public void Print(IEnumerable <LNode> nodes, StringBuilder target, IMessageSink sink = null, ParsingMode mode = null, ILNodePrinterOptions options = null) { LNodePrinter.PrintMultiple(this, nodes, target, sink, mode, options); }
public InputOutput(ICharSource text, string fileName, IParsingService input = null, LNodePrinter outPrinter = null, string outFileName = null) { Text = text; FileName = fileName ?? ""; InputLang = input; OutPrinter = outPrinter; OutFileName = outFileName; }