Lines Matching defs:UScriptStatement

81 class UScriptStatement {

93 explicit UScriptStatement(UScriptStatement::StatementType type) : type_(type) {}
95 virtual ~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 *list);
124 class UScriptStatementCtrl : public UScriptStatement {
126 explicit UScriptStatementCtrl(UScriptStatement::StatementType type) : UScriptStatement(type) {}
131 class UScriptExpressionStatement : public UScriptStatement {
134 : UScriptStatement(STATEMENT_TYPE_EXPRESSION), expression_(expression) {}
141 class UScriptIfStatement : public UScriptStatement {
144 : UScriptStatement(STATEMENT_TYPE_IF), expression_(expression), trueStatements_(statements) {}
164 class UScriptForStatement : public UScriptStatement {
167 UScriptStatementList *statements) : UScriptStatement(STATEMENT_TYPE_FOR), before_(before),
180 class UScriptWhileStatement : public UScriptStatement {
183 : UScriptStatement(STATEMENT_TYPE_WHILE), condition_(condition), statements_(statements) {}
193 class UScriptReturnStatement : public UScriptStatement {
195 UScriptReturnStatement() : UScriptStatement(STATEMENT_TYPE_RTN) {}
217 static UScriptStatementList* CreateInstance(UScriptStatement *statement);
218 void AddScriptStatement(UScriptStatement *statement);
226 std::vector<UScriptStatement*> statements_ = {};