public CommandParser() { CommandTextTokenizer = new StringTokenizer(); OperatorDefinitions = new OperatorDefinitions(); }
public CommandParser(OperatorDefinitions operatorDefinitions, StringTokenizer commandTokenizer) { OperatorDefinitions = operatorDefinitions ?? throw new ArgumentNullException(nameof(operatorDefinitions)); CommandTextTokenizer = commandTokenizer ?? throw new ArgumentNullException(nameof(commandTokenizer)); }