Searched refs:expr (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/edify/ |
D | parser.yy | 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; } [all …]
|
D | expr.cpp | 45 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result) { in Evaluate() argument 50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv)); in Evaluate() 63 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr) { in EvaluateValue() argument 64 return expr->fn(expr->name.c_str(), state, expr->argv); in EvaluateValue()
|
D | Android.bp | 32 "expr.cpp",
|
D | lexer.ll | 21 #include "edify/expr.h"
|
/bootable/recovery/tests/unit/ |
D | edify_test.cpp | 153 std::unique_ptr<Expr> expr; in TEST_F() local 155 EXPECT_EQ(1, ParseString(script1, &expr, &error_count)); in TEST_F() 160 EXPECT_EQ(1, ParseString(script2, &expr, &error_count)); in TEST_F() 165 EXPECT_EQ(1, ParseString(script3, &expr, &error_count)); in TEST_F()
|
/bootable/recovery/edify/include/edify/ |
D | expr.h | 88 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr); 93 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result);
|