Searched refs:ScriptFunction (Results 1 – 7 of 7) sorted by relevance
/base/update/updater/services/script/script_interpreter/ |
D | script_function.h | 26 class ScriptFunction { 28 static ScriptFunction* CreateInstance(std::string &identifier, ScriptParams *params, in CreateInstance() 31 return new ScriptFunction(identifier, params, list); in CreateInstance() 35 ScriptFunction(std::string& functionName, ScriptParams *params, UScriptStatementList *list) in ScriptFunction() function 39 ~ScriptFunction();
|
D | script_function.cpp | 25 ScriptFunction::~ScriptFunction() in ~ScriptFunction() 31 UScriptValuePtr ScriptFunction::Execute(ScriptInterpreter &inter, in Execute() 78 std::vector<std::string> ScriptFunction::GetParamNames(ScriptInterpreter &inter, in GetParamNames()
|
D | script_interpreter.h | 45 int32_t AddFunction(ScriptFunction *function); 72 ScriptFunction* FindFunction(const std::string &name); 74 std::map<std::string, ScriptFunction*> functions_;
|
D | script_param.h | 33 friend class ScriptFunction;
|
D | script_interpreter.cpp | 99 int32_t ScriptInterpreter::AddFunction(ScriptFunction *function) in AddFunction() 109 ScriptFunction* ScriptInterpreter::FindFunction(const std::string &name) in FindFunction() 120 ScriptFunction *function = FindFunction(name); in ExecuteFunction()
|
D | script_yacc.y | 105 %type <ScriptFunction*>function_definition 131 $$ = ScriptFunction::CreateInstance($2, $4, $6); 136 $$ = ScriptFunction::CreateInstance($2, nullptr, $5);
|
D | script_expression.h | 26 class ScriptFunction; variable
|