Пример #1
0
 private EcsLanguageService(bool printPlainCSharp)
 {
     if (printPlainCSharp)
     {
         _printer        = EcsNodePrinter.PrintPlainCSharp;
         _fileExtensions = _fileExtensionsPlainCs;
         _name           = "Enhanced C# (configured for C# output)";
     }
 }
Пример #2
0
 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);
 }
Пример #3
0
 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;
 }