public Parser(TokList tokens, ErrorStream errorStream) { this.from = tokens; this.errorStream = errorStream; this.result = new ParsedList(); this.index = 0; }
public ParseResult(ParsedList result, ErrorStream errors) { this.result = result; this.errors = errors; this.isError = errors.errors.Count > 0; }