void expr(){ bool_term(); while (lookahead == BOOL_OP){ match(BOOL_OP); bool_term(); } }
Expr *Parser::bool_() { Expr *t = bool_term(); while (lookahead_ == Token::OR) { match(Token::OR); t = new BoolTerm(t, bool_term()); } return t; }