Lines Matching refs:expr
28 #include "edify/expr.h"
61 Expr* expr;
67 %type <expr> expr
70 %destructor { delete $$; } expr
88 input: expr { root->reset($1); }
91 expr: STRING {
94 | '(' expr ')' { $$ = $2; $$->start=@$.start; $$->end=@$.end; }
95 | expr ';' { $$ = $1; $$->start=@1.start; $$->end=@1.end; }
96 | expr ';' expr { $$ = Build(SequenceFn, @$, 2, $1, $3); }
97 | error ';' expr { $$ = $3; $$->start=@$.start; $$->end=@$.end; }
98 | expr '+' expr { $$ = Build(ConcatFn, @$, 2, $1, $3); }
99 | expr EQ expr { $$ = Build(EqualityFn, @$, 2, $1, $3); }
100 | expr NE expr { $$ = Build(InequalityFn, @$, 2, $1, $3); }
101 | expr AND expr { $$ = Build(LogicalAndFn, @$, 2, $1, $3); }
102 | expr OR expr { $$ = Build(LogicalOrFn, @$, 2, $1, $3); }
103 | '!' expr { $$ = Build(LogicalNotFn, @$, 1, $2); }
104 | IF expr THEN expr ENDIF { $$ = Build(IfElseFn, @$, 2, $2, $4); }
105 | IF expr THEN expr ELSE expr ENDIF { $$ = Build(IfElseFn, @$, 3, $2, $4, $6); }
121 | expr {
125 | arglist ',' expr {