public Expression ParseExpression(Lexer lexer) { this.errors = lexer.Errors; this.lexer = lexer; errors.SynErr = new ErrorCodeProc(SynErr); lexer.NextToken(); Expression expr; Expr(out expr); return expr; }
public void Parse(Lexer lexer) { this.errors = lexer.Errors; this.lexer = lexer; errors.SynErr = new ErrorCodeProc(SynErr); lexer.NextToken(); CS(); }