Lines Matching defs:statements

38 #include "ir/statements/blockStatement.h"
39 #include "ir/statements/classDeclaration.h"
40 #include "ir/statements/expressionStatement.h"
41 #include "ir/statements/returnStatement.h"
231 ArenaVector<ir::Statement *> statements(Allocator()->Adapter());
237 builder(&statements, nullptr);
239 auto *body = AllocNode<ir::BlockStatement>(Allocator(), std::move(statements));
260 ArenaVector<ir::Statement *> statements(Allocator()->Adapter());
266 builder(&statements, &params);
268 auto *body = AllocNode<ir::BlockStatement>(Allocator(), std::move(statements));
318 isConstruct](ArenaVector<ir::Statement *> *statements,
337 statements->push_back(AllocNode<ir::ExpressionStatement>(initCall));
399 void ETSChecker::ClassInitializerFromImport(ir::ETSImportDeclaration *import, ArenaVector<ir::Statement *> *statements)
433 statements->push_back(AllocNode<ir::ExpressionStatement>(initializer));
440 return CreateClassStaticInitializer([this, imports](ArenaVector<ir::Statement *> *statements,
443 ClassInitializerFromImport(import, statements);
454 ArenaVector<ir::Statement *> statements(Allocator()->Adapter());
457 builder(&statements, &params, &returnType);
460 auto *body = AllocNode<ir::BlockStatement>(Allocator(), std::move(statements));
483 [this]([[maybe_unused]] ArenaVector<ir::Statement *> *statements,
494 [this, invokeSignature, retTypeAnnotation](ArenaVector<ir::Statement *> *statements,
525 statements->push_back(retStatement);
613 [this](ArenaVector<ir::Statement *> *statements, ArenaVector<ir::Expression *> *params) {
632 statements->push_back(AllocNode<ir::ExpressionStatement>(initializer));