Home | History | Annotate | Download | only in gn

Lines Matching refs:ParseExpression

93 scoped_ptr<ParseNode> Parser::ParseExpression(const std::vector<Token>& tokens,
96 return p.ParseExpression().Pass();
167 scoped_ptr<ParseNode> Parser::ParseExpression() {
168 return ParseExpression(0);
171 scoped_ptr<ParseNode> Parser::ParseExpression(int precedence) {
216 scoped_ptr<ParseNode> expr = ParseExpression();
224 scoped_ptr<ParseNode> expr = ParseExpression(PRECEDENCE_PREFIX + 1);
243 ParseExpression(expressions_[token.type()].precedence + 1);
301 scoped_ptr<ParseNode> value = ParseExpression(PRECEDENCE_ASSIGNMENT);
317 scoped_ptr<ParseNode> value = ParseExpression();
336 list->append_item(ParseExpression(PRECEDENCE_OR));
378 // to allow "pointless" expressions and return ParseExpression() directly.
379 scoped_ptr<ParseNode> stmt = ParseExpression();
418 condition->set_condition(ParseExpression());