Home
last modified time | relevance | path

Searched refs:ScriptInterpreter (Results 1 – 15 of 15) sorted by relevance

/base/update/updater/services/script/script_interpreter/
Dscript_interpreter.cpp29 int32_t ScriptInterpreter::ExecuteScript(ScriptManagerImpl *manager, Hpackage::PkgManager::StreamPt… in ExecuteScript()
37 auto inter = new ScriptInterpreter(manager); in ExecuteScript()
57 ScriptInterpreter::ScriptInterpreter(ScriptManagerImpl *manager) : scriptManager_(manager) in ScriptInterpreter() function in Uscript::ScriptInterpreter
62 ScriptInterpreter::~ScriptInterpreter() in ~ScriptInterpreter()
77 int32_t ScriptInterpreter::LoadScript(Hpackage::PkgManager::StreamPtr pkgStream) in LoadScript()
87 int32_t ScriptInterpreter::Execute() in Execute()
99 int32_t ScriptInterpreter::AddFunction(ScriptFunction *function) in AddFunction()
109 ScriptFunction* ScriptInterpreter::FindFunction(const std::string &name) in FindFunction()
117 UScriptValuePtr ScriptInterpreter::ExecuteFunction(UScriptContextPtr context, const std::string &na… in ExecuteFunction()
129 UScriptValuePtr ScriptInterpreter::FindVariable(UScriptContextPtr local, std::string id) in FindVariable()
[all …]
Dscript_statement.h113 …virtual UScriptStatementResult Execute(ScriptInterpreter &interpreter, UScriptContextPtr context) …
128 …UScriptStatementResult Execute(ScriptInterpreter &interpreter, UScriptContextPtr context) override;
136 …UScriptStatementResult Execute(ScriptInterpreter &interpreter, UScriptContextPtr context) override;
146 …UScriptStatementResult Execute(ScriptInterpreter &interpreter, UScriptContextPtr context) override;
171 …UScriptStatementResult Execute(ScriptInterpreter &interpreter, UScriptContextPtr context) override;
186 …UScriptStatementResult Execute(ScriptInterpreter &interpreter, UScriptContextPtr context) override;
198 …UScriptStatementResult Execute(ScriptInterpreter &interpreter, UScriptContextPtr context) override;
220 UScriptStatementResult Execute(ScriptInterpreter &interpreter, UScriptContextPtr context);
222 static UScriptStatementResult DoExecute(ScriptInterpreter &inter, UScriptContextPtr context,
Dscript_expression.cpp55 UScriptValuePtr UScriptExpression::Execute(ScriptInterpreter &inter, UScriptContextPtr local) in Execute()
59 UScriptValuePtr IntegerExpression::Execute(ScriptInterpreter &inter, UScriptContextPtr local) in Execute()
63 UScriptValuePtr FloatExpression::Execute(ScriptInterpreter &inter, UScriptContextPtr local) in Execute()
67 UScriptValuePtr StringExpression::Execute(ScriptInterpreter &inter, UScriptContextPtr local) in Execute()
71 UScriptValuePtr IdentifierExpression::Execute(ScriptInterpreter &inter, UScriptContextPtr local) in Execute()
96 UScriptValuePtr AssignExpression::Execute(ScriptInterpreter &inter, UScriptContextPtr local) in Execute()
118 UScriptValuePtr BinaryExpression::Execute(ScriptInterpreter &inter, UScriptContextPtr local) in Execute()
149 UScriptValuePtr FunctionCallExpression::Execute(ScriptInterpreter &inter, UScriptContextPtr local) in Execute()
Dscript_expression.h60 virtual UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local);
83 UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local) override;
102 UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local) override;
120 UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local) override;
137 UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local) override;
161 UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local) override;
179 UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local) override;
198 UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local) override;
Dscanner.h35 class ScriptInterpreter; variable
39 explicit Scanner(ScriptInterpreter* interpreter) in Scanner()
Dscript_interpreter.h37 class ScriptInterpreter {
41 explicit ScriptInterpreter(ScriptManagerImpl *manager);
42 ~ScriptInterpreter();
Dscript_function.h44 … UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local, ScriptParams *params);
47 … std::vector<std::string> GetParamNames(ScriptInterpreter &inter, UScriptContextPtr context) const;
Dscript_statement.cpp148 UScriptStatementResult UScriptStatementCtrl::Execute(ScriptInterpreter &interpreter, UScriptContext… in Execute()
171 UScriptStatementResult UScriptExpressionStatement::Execute(ScriptInterpreter &interpreter, in Execute()
183 UScriptStatementResult UScriptForStatement::Execute(ScriptInterpreter &interpreter, UScriptContextP… in Execute()
225 UScriptStatementResult UScriptWhileStatement::Execute(ScriptInterpreter &interpreter, UScriptContex… in Execute()
260 UScriptStatementResult UScriptIfStatement::Execute(ScriptInterpreter &interpreter, UScriptContextPt… in Execute()
287 UScriptStatementResult UScriptStatementList::Execute(ScriptInterpreter &inter, UScriptContextPtr co… in Execute()
356 UScriptStatementResult UScriptReturnStatement::Execute(ScriptInterpreter &interpreter, UScriptConte… in Execute()
Dscript_context.h26 class ScriptInterpreter; variable
241 UScriptValuePtr FindVariable(const ScriptInterpreter &inter, std::string id);
242 void UpdateVariable(const ScriptInterpreter &inter, std::string id, UScriptValuePtr value);
243 void UpdateVariables(const ScriptInterpreter &inter,
Dscript_function.cpp31 UScriptValuePtr ScriptFunction::Execute(ScriptInterpreter &inter, in Execute()
78 std::vector<std::string> ScriptFunction::GetParamNames(ScriptInterpreter &inter, in GetParamNames()
Dscript_yacc.y46 class ScriptInterpreter; variable
61 …static Uscript::Parser::symbol_type yylex(Uscript::Scanner* scanner, Uscript::ScriptInterpreter* i… in yylex()
79 %lex-param { Uscript::ScriptInterpreter* interpreter }
83 %parse-param { Uscript::ScriptInterpreter* interpreter }
Dscript_context.cpp117 UScriptValuePtr UScriptInterpretContext::FindVariable(const ScriptInterpreter &inter, std::string i… in FindVariable()
131 void UScriptInterpretContext::UpdateVariable(const ScriptInterpreter &inter, std::string id, in UpdateVariable()
139 void UScriptInterpretContext::UpdateVariables(const ScriptInterpreter &inter, in UpdateVariables()
/base/update/updater/services/script/script_manager/
Dscript_manager_impl.h30 friend class ScriptInterpreter;
Dscript_managerImpl.cpp189 ret = ScriptInterpreter::ExecuteScript(this, outStream); in ExtractAndExecuteScript()
/base/update/updater/test/unittest/script/
Dscript_interpreter_unittest.cpp233 a4.Execute(*(ScriptInterpreter*)a5, local);