Searched refs:decls (Results 1 - 6 of 6) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | moduleContext.cpp | 30 for (const auto &[importDecl, decls] : scope->Imports()) { in CompileImports() 36 for (const auto *decl : decls) { in CompileImports() 53 for (const auto &[exportDecl, decls] : scope->Exports()) { in CompileExports() 67 pg->StoreModuleVar(exportDecl, decls.front()->ExportName()); in CompileExports() 73 for (const auto *decl : decls) { in CompileExports()
|
/arkcompiler/ets_frontend/ets2panda/parser/program/ |
H A D | entityNameVisitor.cpp | 32 const auto &decls = varDecl->AsVariableDeclaration()->Declarators(); in VisitVariableDeclaration() local 33 ASSERT(decls.size() == 1); in VisitVariableDeclaration() 34 auto *id = decls[0]->Id(); in VisitVariableDeclaration()
|
/arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
H A D | variableHasScope.cpp | 113 const auto &decls = scope->Decls(); in ScopeEncloseVariable() local 114 const auto declDominate = std::count(decls.begin(), decls.end(), var->Declaration()); in ScopeEncloseVariable()
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | scope.cpp | 626 void ModuleScope::AddImportDecl(ir::ImportDeclaration *importDecl, ImportDeclList &&decls) in AddImportDecl() argument 628 auto res = imports_.emplace_back(importDecl, decls); in AddImportDecl() 639 ArenaVector<ExportDecl *> decls(allocator_->Adapter()); in AddExportDecl() 640 decls.push_back(decl); in AddExportDecl() 642 AddExportDecl(exportDecl, std::move(decls)); in AddExportDecl() 645 void ModuleScope::AddExportDecl(ir::AstNode *exportDecl, ExportDeclList &&decls) in AddExportDecl() argument 647 auto res = exports_.emplace_back(exportDecl, decls); in AddExportDecl() 675 for (const auto &[exportDecl, decls] : exports_) { in ExportAnalysis() 699 for (const auto *decl : decls) { in ExportAnalysis()
|
H A D | scope.h | 929 void AddImportDecl(ir::ImportDeclaration *importDecl, ImportDeclList &&decls); 933 void AddExportDecl(ir::AstNode *exportDecl, ExportDeclList &&decls);
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | enumLowering.cpp | 751 ArenaVector<ir::VariableDeclarator *> decls(checker->Allocator()->Adapter()); 752 decls.push_back(decl); 754 ir::VariableDeclaration::VariableDeclarationKind::LET, checker->Allocator(), std::move(decls), false);
|
Completed in 6 milliseconds