Lines Matching refs:Expression

36 #include "Expression.h"
47 static Expression *
53 return new Expression (Expression::OP_NAME,
54 new Expression (Expression::OP_NUM, (uint64_t) propID));
57 Expression *expr = dbeSession->findObjDefByName (name);
114 %type <Expression *> exp term
116 // %destructor { delete $$; } <Expression *>;
120 S: /* empty */ { result.out = new Expression (Expression::OP_NUM, (uint64_t) 1); }
123 exp: exp DEG exp { $$ = new Expression (Expression::OP_DEG, $1, $3); } /* dead? */
124 | exp MUL exp { $$ = new Expression (Expression::OP_MUL, $1, $3); }
125 | exp DIV exp { $$ = new Expression (Expression::OP_DIV, $1, $3); }
126 | exp REM exp { $$ = new Expression (Expression::OP_REM, $1, $3); }
127 | exp ADD exp { $$ = new Expression (Expression::OP_ADD, $1, $3); }
128 | exp MINUS exp { $$ = new Expression (Expression::OP_MINUS, $1, $3); }
129 | exp LS exp { $$ = new Expression (Expression::OP_LS, $1, $3); }
130 | exp RS exp { $$ = new Expression (Expression::OP_RS, $1, $3); }
131 | exp LT exp { $$ = new Expression (Expression::OP_LT, $1, $3); }
132 | exp LE exp { $$ = new Expression (Expression::OP_LE, $1, $3); }
133 | exp GT exp { $$ = new Expression (Expression::OP_GT, $1, $3); }
134 | exp GE exp { $$ = new Expression (Expression::OP_GE, $1, $3); }
135 | exp EQ exp { $$ = new Expression (Expression::OP_EQ, $1, $3); }
136 | exp NE exp { $$ = new Expression (Expression::OP_NE, $1, $3); }
137 | exp BITAND exp { $$ = new Expression (Expression::OP_BITAND, $1, $3); }
138 | exp BITXOR exp { $$ = new Expression (Expression::OP_BITXOR, $1, $3); }
139 | exp BITOR exp { $$ = new Expression (Expression::OP_BITOR, $1, $3); }
140 | exp AND exp { $$ = new Expression (Expression::OP_AND, $1, $3); }
141 | exp OR exp { $$ = new Expression (Expression::OP_OR, $1, $3); }
142 | exp NEQV exp { $$ = new Expression (Expression::OP_NEQV, $1, $3); } /* dead? */
143 | exp EQV exp { $$ = new Expression (Expression::OP_EQV, $1, $3); } /* dead? */
146 $$ = new Expression (Expression::OP_QWE, $1,
147 new Expression (Expression::OP_COLON, $3, $5));
149 | exp COMMA exp { $$ = new Expression (Expression::OP_COMMA, $1, $3); }
150 | exp IN exp { $$ = new Expression (Expression::OP_IN, $1, $3); }
151 | exp SOME IN exp { $$ = new Expression (Expression::OP_SOMEIN, $1, $4); }
152 | exp ORDR IN exp { $$ = new Expression (Expression::OP_ORDRIN, $1, $4); }
157 $$ = new Expression (Expression::OP_MINUS,
158 new Expression (Expression::OP_NUM, (uint64_t) 0), $2);
160 | NOT term { $$ = new Expression (Expression::OP_NOT, $2); }
161 | BITNOT term { $$ = new Expression (Expression::OP_BITNOT, $2); }
165 $$ = new Expression (Expression::OP_FUNC,
166 new Expression (Expression::OP_NUM, $1),
167 new Expression (Expression::OP_NUM, $3));
171 $$ = new Expression (Expression::OP_HASPROP,
172 new Expression (Expression::OP_NUM, processName($3)));
176 $$ = new Expression (Expression::OP_JAVA,
177 new Expression (Expression::OP_NUM, $1),
178 new Expression (Expression::OP_NUM, $3));
182 $$ = new Expression (Expression::OP_JAVA,
183 new Expression (Expression::OP_NUM, $1),
184 new Expression (Expression::OP_NUM, $3));
188 $$ = new Expression (Expression::OP_FILE,
189 new Expression (Expression::OP_NUM, (uint64_t) 0),
190 new Expression (Expression::OP_NUM, $3));
192 | NUM { $$ = new Expression (Expression::OP_NUM, $1); }
393 return Parser::make_FNAME (Expression::FUNC_FNAME);
397 return Parser::make_JGROUP (Expression::JAVA_JGROUP);
399 return Parser::make_JPARENT (Expression::JAVA_JPARENT);
401 return Parser::make_FNAME (Expression::FUNC_DNAME);