예제 #1
0
 public ParserContext(ParserConfiguration configuration, string text)
 {
     Configuration = configuration;
     Result = new ParseResult();
     Lexer = new Lexer(text);
     Mapper = new CommandMapper(Configuration.Commands);
 }
예제 #2
0
 public void BeforeEachTest()
 {
     _config = new ParserConfiguration();
 }
예제 #3
0
 public void BeforeEachTest()
 {
     _configuration = new ParserConfiguration();
     _scanner = new CommandScanner(_configuration);
 }
예제 #4
0
 public HelpCommand(ParserConfiguration configuration, IConsole console)
 {
     _configuration = configuration;
     _console = console;
 }
예제 #5
0
파일: Parser.cs 프로젝트: cj525/yaclops
 public Parser(ParserConfiguration configuration)
 {
     _configuration = configuration;
 }