Test() public static method

public static Test ( string input, string output, IMessageSink sink, int maxExpand = 0xFFFF, bool plainCS = true ) : void
input string
output string
sink IMessageSink
maxExpand int
plainCS bool
return void
Esempio n. 1
0
 private void Test(string input, string output, int maxExpand = 0xFFFF)
 {
     TestCompiler.Test(input, output, _sink, maxExpand);
 }
Esempio n. 2
0
 private void Test(string input, string output, int maxExpand = 0xFFFF, IParsingService parser = null, ILNodePrinter printer = null, IMessageSink sink = null)
 {
     using (ParsingService.SetDefault(parser ?? Les2LanguageService.Value))
         using (LNode.SetPrinter(printer ?? EcsLanguageService.WithPlainCSharpPrinter))
             TestCompiler.Test(input, output, sink ?? _sink, maxExpand, "LeMP.les2.to.ecs");
 }