public Input SetParsedInput(ParsedInput value) { return(new Input(this) { ParsedInput = value }); }
public Input Evaluate(string input) { ParsedInput parsedInput = parser.Parse(input); IInputTreeEvaluationStrategy evaluation = new InputTreeEvaluationStrategy(tree, environment); return(evaluation.Evaluate(parsedInput)); }
public static Input BuildUnrecognised(ParsedInput parsedInput) { return(Empty.SetParsedInput(parsedInput)); }
internal Builder(ParsedInput input) { RawInput = input.RawInput; Tokens = input.Tokens.ToBuilder(); }