Home
last modified time | relevance | path

Searched defs:statements (Results 1 – 25 of 25) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsModuleBlock.h34 explicit TSModuleBlock(ArenaVector<Statement *> &&statements) in TSModuleBlock()
/arkcompiler/ets_frontend/es2panda/ir/
Dstatement.cpp35 auto statements = std::get<std::vector<ir::AstNode *>>(newStatements); in UpdateForMultipleTransformedStatements() local
/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsModuleBlock.h25 explicit TSModuleBlock(ArenaVector<Statement *> &&statements) in TSModuleBlock()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DloopStatement.cpp32 ArenaVector<ir::Statement *> statements(binder->Allocator()->Adapter()); in UpdateChildStatement() local
DifStatement.cpp99 ArenaVector<ir::Statement *> statements(binder->Allocator()->Adapter()); in UpdateIfStatementChildStatement() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Ddynamic.cpp216 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateClassInitializer() local
281 … [[maybe_unused]] ArenaVector<ir::Expression *> *params) { in CreateDynamicCallClassInitializer()
395 [[maybe_unused]] ArenaVector<ir::Expression *> *params) { in CreateDynamicModuleClassInitializer()
441 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateClassMethod() local
512 … retTypeAnnotation](varbinder::FunctionScope *scope, ArenaVector<ir::Statement *> *statements, in CreateLambdaObjectClassInvokeMethod()
513 ArenaVector<ir::Expression *> *params, Type **returnType) { in CreateLambdaObjectClassInvokeMethod()
640 ArenaVector<ir::Expression *> *params) { in CreateLambdaObjectClassInitializer()
Dfunction.cpp2095 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateLambdaImplicitCtor() local
2243 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateLambdaImplicitCtor() local
2317 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateLambdaInvokeProto() local
2831 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in ExtendArgumentsWithFakeLamda() local
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp51 const auto &statements = block->Statements(); in CompileSourceBlock() local
174 const auto &statements = classDef->Body(); in CompileClassInitializer() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DlambdaLowering.cpp29 ArenaVector<ir::Statement *> statements(checker->Allocator()->Adapter()); in ConvertExpression() local
/arkcompiler/ets_frontend/es2panda/parser/
Dcommonjs.cpp111 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in ParseCommonjs() local
DstatementParser.cpp431 auto statements = body->AsTSModuleBlock()->Statements(); in ParseTsModuleOrNamespaceDelaration() local
540 auto statements = ParseStatementList(); in ParseTsModuleBlock() local
901 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in ParseStatementList() local
914 bool ParserImpl::ParseDirective(ArenaVector<ir::Statement *> *statements) in ParseDirective()
940 void ParserImpl::ParseDirectivePrologue(ArenaVector<ir::Statement *> *statements) in ParseDirectivePrologue()
955 auto statements = ParseStatementList(); in ParseBlockStatement() local
DparserImpl.cpp187 auto statements = ParseStatementList(StatementParsingFlags::STMT_GLOBAL_LEXICAL); in ParseProgram() local
200 …ool ParserImpl::CheckTopStatementsForRequiredDeclare(const ArenaVector<ir::Statement *> &statement… in CheckTopStatementsForRequiredDeclare()
2911 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateImplicitMethod() local
DexpressionParser.cpp400 auto statements = ParseStatementList(); in ParseArrowFunctionExpressionBody() local
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DETSfunction.cpp109 const auto &statements = block->Statements(); in CompileSourceBlock() local
Dfunction.cpp34 const auto &statements = block->Statements(); in CompileSourceBlock() local
DETSGen.cpp2179 void ETSGen::CompileStatements(const ArenaVector<ir::Statement *> &statements) in CompileStatements()
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparser.cpp164 auto statements = PrepareGlobalClass(); in ParseProgram() local
170 …ser::ParseETSGlobalScript(lexer::SourcePosition startLoc, ArenaVector<ir::Statement *> &statements) in ParseETSGlobalScript()
241 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in PrepareGlobalClass() local
250 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in PrepareExternalGlobalClass() local
588 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in ParseDefaultSources() local
611 auto statements = PrepareExternalGlobalClass(sourceFile); in ParseSource() local
632 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in AddInitMethod() local
672 …aVector<ir::AstNode *> ETSParser::ParseTopLevelStatements(ArenaVector<ir::Statement *> &statements) in ParseTopLevelStatements()
703 void ETSParser::ParseTopLevelType(ArenaVector<ir::Statement *> &statements, bool &defaultExport, in ParseTopLevelType()
719 void ETSParser::ParseTopLevelNextTokenDefault(ArenaVector<ir::Statement *> &statements, in ParseTopLevelNextTokenDefault()
[all …]
DstatementParser.cpp346 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in ParseStatementList() local
359 bool ParserImpl::ParseDirective(ArenaVector<ir::Statement *> *statements) in ParseDirective()
385 void ParserImpl::ParseDirectivePrologue(ArenaVector<ir::Statement *> *statements) in ParseDirectivePrologue()
407 auto statements = ParseStatementList(); in ParseBlockStatement() local
DparserImpl.cpp92 auto statements = ParseStatementList(StatementParsingFlags::STMT_GLOBAL_LEXICAL); in ParseProgram() local
567 ArenaVector<ir::Statement *> statements = ParseStatementList(); in ParseClassStaticBlock() local
640 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in BuildImplicitConstructor() local
DTypedParser.cpp310 auto statements = ParseStatementList(); in ParseTsModuleBlock() local
DexpressionParser.cpp314 auto statements = ParseStatementList(); in ParseArrowFunctionExpressionBody() local
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DblockExpression.cpp26 BlockExpression::BlockExpression(ArenaVector<ir::Statement *> &&statements) in BlockExpression()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp367 auto statements = std::get<std::vector<ir::AstNode *>>(newDecl); in VisitExportClassDeclaration() local
903 ArenaVector<ir::Statement *> &statements) in AddMethodToClass()
954 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in AddGeneratedMethodToClass() local
1236 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateClassStaticBlock() local
1757 auto statements = std::get<std::vector<ir::AstNode *>>(newDecl); in VisitExportNamedVariable() local
1920 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateCallExpressionForTsModule() local
2058 ArenaVector<ir::Statement *> statements(Allocator()->Adapter()); in CreateCallExpressionForTsEnum() local
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp685 auto &statements = body->AsBlockStatement()->Statements(); in ScanDirectives() local
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …ring,r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeof Buffer.allo… argument