/base/update/updater/services/script/script_interpreter/ |
D | script_interpreter.cpp | 29 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 …]
|
D | script_statement.h | 113 …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,
|
D | script_expression.cpp | 55 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()
|
D | script_expression.h | 60 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;
|
D | scanner.h | 35 class ScriptInterpreter; variable 39 explicit Scanner(ScriptInterpreter* interpreter) in Scanner()
|
D | script_interpreter.h | 37 class ScriptInterpreter { 41 explicit ScriptInterpreter(ScriptManagerImpl *manager); 42 ~ScriptInterpreter();
|
D | script_function.h | 44 … UScriptValuePtr Execute(ScriptInterpreter &inter, UScriptContextPtr local, ScriptParams *params); 47 … std::vector<std::string> GetParamNames(ScriptInterpreter &inter, UScriptContextPtr context) const;
|
D | script_statement.cpp | 148 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()
|
D | script_context.h | 26 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,
|
D | script_function.cpp | 31 UScriptValuePtr ScriptFunction::Execute(ScriptInterpreter &inter, in Execute() 78 std::vector<std::string> ScriptFunction::GetParamNames(ScriptInterpreter &inter, in GetParamNames()
|
D | script_yacc.y | 46 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 }
|
D | script_context.cpp | 117 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/ |
D | script_manager_impl.h | 30 friend class ScriptInterpreter;
|
D | script_managerImpl.cpp | 189 ret = ScriptInterpreter::ExecuteScript(this, outStream); in ExtractAndExecuteScript()
|
/base/update/updater/test/unittest/script/ |
D | script_interpreter_unittest.cpp | 233 a4.Execute(*(ScriptInterpreter*)a5, local);
|