• Home
  • Raw
  • Download

Lines Matching refs:Expression

30 #include "Expression.h"
166 android::Expression *expression;
167 std::vector<android::Expression *> *expressions;
470 $$ = Expression::atom(Expression::Type::UNKNOWN, $1, true /* isId*/ );
472 | VALUE { $$ = Expression::atom(Expression::Type::UNKNOWN, $1); }
473 | INTEGRAL_VALUE { $$ = Expression::atom(Expression::integralType($1), $1); }
474 | '(' expr ')' { $$ = Expression::parenthesize($2); }
476 $$ = Expression::arraySubscript($1, $3);
479 $$ = Expression::functionCall($1, $3);
481 | expr '?' expr ':' expr { $$ = Expression::ternary($1, $3, $5); }
482 | expr '+' expr { $$ = Expression::binary($1, "+", $3); }
483 | expr '-' expr { $$ = Expression::binary($1, "-", $3); }
484 | expr '/' expr { $$ = Expression::binary($1, "/", $3); }
485 | expr '*' expr { $$ = Expression::binary($1, "*", $3); }
486 | expr '%' expr { $$ = Expression::binary($1, "%%", $3); }
487 | expr '&' expr { $$ = Expression::binary($1, "&", $3); }
488 | expr '|' expr { $$ = Expression::binary($1, "|", $3); }
489 | expr '^' expr { $$ = Expression::binary($1, "^", $3); }
490 | expr LSHIFT expr { $$ = Expression::binary($1, "<<", $3); }
491 | expr RSHIFT expr { $$ = Expression::binary($1, ">>", $3); }
492 | '~' expr { $$ = Expression::unary("~", $2); }
493 | '-' expr %prec UMINUS { $$ = Expression::unary("-", $2); }
494 | '+' expr %prec UPLUS { $$ = Expression::unary("+", $2); }
500 $$ = new std::vector<Expression *>;
504 $$ = new std::vector<Expression *>;
532 : /* empty */ { $$ = new std::vector<Expression *>; }
540 : '[' ']' { $$ = Expression::atom(Expression::Type::UNKNOWN, " "); }