Lines Matching refs:State
28 struct State { struct
29 State(const std::string& script, void* cookie);
71 using Function = Value* (*)(const char* name, State* state, argument
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);
96 Value* Literal(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
101 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
102 Value* LogicalAndFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
103 Value* LogicalOrFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
104 Value* LogicalNotFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
105 Value* SubstringFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
106 Value* EqualityFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
107 Value* InequalityFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
108 Value* SequenceFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
111 Value* IfElseFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
112 Value* AssertFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
113 Value* AbortFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv);
130 bool ReadArgs(State* state, const std::vector<std::unique_ptr<Expr>>& argv,
132 bool ReadArgs(State* state, const std::vector<std::unique_ptr<Expr>>& argv,
137 bool ReadValueArgs(State* state, const std::vector<std::unique_ptr<Expr>>& argv,
139 bool ReadValueArgs(State* state, const std::vector<std::unique_ptr<Expr>>& argv,
144 Value* ErrorAbort(State* state, const char* format, ...)
149 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...)