Home
last modified time | relevance | path

Searched refs:ScriptFunction (Results 1 – 7 of 7) sorted by relevance

/base/update/updater/services/script/script_interpreter/
Dscript_function.h26 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();
Dscript_function.cpp25 ScriptFunction::~ScriptFunction() in ~ScriptFunction()
31 UScriptValuePtr ScriptFunction::Execute(ScriptInterpreter &inter, in Execute()
78 std::vector<std::string> ScriptFunction::GetParamNames(ScriptInterpreter &inter, in GetParamNames()
Dscript_interpreter.h45 int32_t AddFunction(ScriptFunction *function);
72 ScriptFunction* FindFunction(const std::string &name);
74 std::map<std::string, ScriptFunction*> functions_;
Dscript_param.h33 friend class ScriptFunction;
Dscript_interpreter.cpp99 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()
Dscript_yacc.y105 %type <ScriptFunction*>function_definition
131 $$ = ScriptFunction::CreateInstance($2, $4, $6);
136 $$ = ScriptFunction::CreateInstance($2, nullptr, $5);
Dscript_expression.h26 class ScriptFunction; variable