Home
last modified time | relevance | path

Searched refs:UScriptStatement (Results 1 – 5 of 5) sorted by relevance

/base/update/updater/services/script/script_interpreter/
Dscript_statement.h81 class UScriptStatement {
93 explicit UScriptStatement(UScriptStatement::StatementType type) : type_(type) {} in UScriptStatement() function
95 virtual ~UScriptStatement() {} in ~UScriptStatement()
97 static UScriptStatement* CreateStatement(UScriptStatement::StatementType type);
99 static UScriptStatement* CreateExpressionStatement(UScriptExpression *expression);
101 static UScriptStatement* CreateIfStatement(UScriptExpression *condition,
104 UScriptStatement* nextIfState = nullptr);
106 static UScriptStatement* CreateForStatement(UScriptExpression *before,
111 …static UScriptStatement* CreateWhileStatement(UScriptExpression *condition, UScriptStatementList *…
124 class UScriptStatementCtrl : public UScriptStatement {
[all …]
Dscript_yacc.y113 %type <UScriptStatement*> expression_statement return_statement continue_statement break_statement
170 $$ = UScriptStatement::CreateExpressionStatement($1);
345 $$ = UScriptStatement::CreateForStatement($3,$5,$7,$9);
350 $$ = UScriptStatement::CreateWhileStatement($3, (UScriptStatementList*)$5);
355 $$ = UScriptStatement::CreateIfStatement($3,$5);
359 $$ = UScriptStatement::CreateIfStatement($3,$5, nullptr, $7);
363 $$ = UScriptStatement::CreateIfStatement($3,$5, $7);
368 $$ = UScriptStatement::CreateStatement(UScriptStatement::STATEMENT_TYPE_BREAK);
374 $$ = UScriptStatement::CreateStatement(UScriptStatement::STATEMENT_TYPE_CONTINUE);
Dscript_statement.cpp81 UScriptStatement* UScriptStatement::CreateStatement(UScriptStatement::StatementType type) in CreateStatement()
87 UScriptStatement* UScriptStatement::CreateExpressionStatement(UScriptExpression *expression) in CreateExpressionStatement()
93 UScriptStatement* UScriptStatement::CreateIfStatement(UScriptExpression *condition, in CreateIfStatement()
96 UScriptStatement *nextIfState) in CreateIfStatement()
109 UScriptStatement* UScriptStatement::CreateForStatement(UScriptExpression *before, in CreateForStatement()
117 UScriptStatement* UScriptStatement::CreateWhileStatement(UScriptExpression *condition, in CreateWhileStatement()
123 UScriptStatementList* UScriptStatementList::CreateInstance(UScriptStatement *statement) in CreateInstance()
143 void UScriptStatementList::AddScriptStatement(UScriptStatement *statement) in AddScriptStatement()
Dscript_interpreter.h44 void AddStatement(UScriptStatement *statement);
Dscript_interpreter.cpp157 void ScriptInterpreter::AddStatement(UScriptStatement *statement) in AddStatement()