public ParserContext(ParserConfiguration configuration, string text) { Configuration = configuration; Result = new ParseResult(); Lexer = new Lexer(text); Mapper = new CommandMapper(Configuration.Commands); }
public void BeforeEachTest() { _config = new ParserConfiguration(); }
public void BeforeEachTest() { _configuration = new ParserConfiguration(); _scanner = new CommandScanner(_configuration); }
public HelpCommand(ParserConfiguration configuration, IConsole console) { _configuration = configuration; _console = console; }
public Parser(ParserConfiguration configuration) { _configuration = configuration; }