Home
last modified time | relevance | path

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

/ohos5.0/base/update/updater/services/script/script_interpreter/
H A 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);
104 UScriptStatement* nextIfState = nullptr);
124 class UScriptStatementCtrl : public UScriptStatement {
126 explicit UScriptStatementCtrl(UScriptStatement::StatementType type) : UScriptStatement(type) {} in UScriptStatementCtrl()
141 class UScriptIfStatement : public UScriptStatement {
164 class UScriptForStatement : public UScriptStatement {
180 class UScriptWhileStatement : public UScriptStatement {
[all …]
H A 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()
H A 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);
H A Dscript_interpreter.h47 void AddStatement(UScriptStatement *statement);
H A Dscript_interpreter.cpp157 void ScriptInterpreter::AddStatement(UScriptStatement *statement) in AddStatement()