Example #1
0
 public CommandParser()
 {
     CommandTextTokenizer = new StringTokenizer();
     OperatorDefinitions  = new OperatorDefinitions();
 }
Example #2
0
 public CommandParser(OperatorDefinitions operatorDefinitions, StringTokenizer commandTokenizer)
 {
     OperatorDefinitions  = operatorDefinitions ?? throw new ArgumentNullException(nameof(operatorDefinitions));
     CommandTextTokenizer = commandTokenizer ?? throw new ArgumentNullException(nameof(commandTokenizer));
 }