/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.cpp | 36 rootNode_(binder->TopScope()->Node()->AsBlockStatement()), in Checker() 37 scope_(binder->TopScope()), in Checker()
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
H A D | hoisting.cpp | 95 auto *var = pg->TopScope()->FindLocal(nameSpaceEntry->localName_); in HoistNameSpaceImports() 100 pg->StoreVar(node, {nameSpaceEntry->localName_, pg->TopScope(), 0, var}, true); in HoistNameSpaceImports()
|
H A D | lexenv.cpp | 56 !util::Helpers::IsChildScope(classDef->StaticInitializer()->Function()->Scope(), pg->TopScope())) { in ExpandLoadLexVar()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | expandBrackets.cpp | 59 : checker->VarBinder()->TopScope(); in ProcessNewArrayInstanceExpression() 91 : checker->VarBinder()->TopScope(); in ProcessNewMultiDimArrayInstanceExpression()
|
H A D | lambdaLowering.cpp | 803 varBinder->ResolveReferencesForScopeWithContext(classDeclaration, varBinder->TopScope()); in CreateLambdaClass()
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | ETSBinder.cpp | 72 ASSERT(GetScope() == TopScope()); in IdentifierAnalysis() 73 ASSERT(VarScope() == TopScope()); in IdentifierAnalysis() 447 TopScope()->InsertForeignBinding(name, var); in InsertForeignBinding() 743 const auto localName = ImportLocalName(importSpecifier, importPath, imported, importSpecifiers_, TopScope()); in AddImportSpecifiersToTopBindings() 758 auto previouslyImportedVariable = TopScope()->FindLocal(localName, ResolveBindingOptions::ALL); in AddImportSpecifiersToTopBindings() 1031 auto *savedTopScope = TopScope(); in BuildExternalProgram() 1096 const auto insRes = TopScope()->InsertForeignBinding(name, var); in ImportGlobalPropertiesForNotDefaultedExports() 1097 if (!(!insRes.second && insRes.first != TopScope()->Bindings().end()) || !(insRes.first->second != var)) { in ImportGlobalPropertiesForNotDefaultedExports()
|
H A D | ETSBinder.h | 275 TopScope()->EraseBinding(imported); in FindLocalNameForImport()
|
H A D | varbinder.h | 133 GlobalScope *TopScope() const in TopScope() function in ark::es2panda::ark::es2panda::ark::es2panda::ark::es2panda::varbinder::VarBinder
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | function.cpp | 233 auto *funcParamScope = pg->TopScope()->ParamScope(); in CompileFunction() 260 auto *topScope = pg->TopScope(); in Compile()
|
H A D | ETSfunction.cpp | 161 auto *topScope = etsg->TopScope(); in Compile()
|
H A D | codeGen.cpp | 39 const varbinder::FunctionScope *CodeGen::TopScope() const noexcept
|
H A D | codeGen.h | 100 [[nodiscard]] const varbinder::FunctionScope *TopScope() const noexcept;
|
/arkcompiler/ets_frontend/ets2panda/evaluate/ |
H A D | varbinderScopes.h | 32 prevTopScope_(varBinder->TopScope()), in ProgramScope()
|
H A D | helpers.cpp | 280 binderTopScope_(varBinder->TopScope()), in SafeStateScope() 299 ASSERT(binderTopScope_ == varBinder_->TopScope()); in ~SafeStateScope()
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | ETSchecker.cpp | 38 const auto varMap = checker->VarBinder()->TopScope()->Bindings(); in InitBuiltin() 143 const auto varMap = varbinder->TopScope()->Bindings(); in InitializeBuiltins()
|
H A D | checker.cpp | 47 scope_ = varbinder_->TopScope(); in Initialize()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | function.cpp | 243 auto *funcParamScope = pg->TopScope()->ParamScope(); in CompileFunction() 273 const auto *topScope = pg->TopScope(); in CompileFunctionOrProgram()
|
H A D | pandagen.h | 120 binder::FunctionScope *TopScope() const in TopScope() function in panda::es2panda::compiler::PandaGen
|
/arkcompiler/ets_frontend/ets2panda/test/unit/dynamic/ |
H A D | dynamic_call_test.cpp | 95 auto var = varbinder->TopScope()->Find(specifierName); in AddDynImport()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
H A D | scopesInitPhase.cpp | 487 if (Program()->Kind() == parser::ScriptKind::MODULE && VarBinder()->TopScope()->IsModuleScope() && in AnalyzeExports() 488 !VarBinder()->TopScope()->AsModuleScope()->ExportAnalysis()) { in AnalyzeExports() 739 if (program->VarBinder()->TopScope() == nullptr) { in Perform() 753 auto savedTopScope(program->VarBinder()->TopScope()); in HandleProgram() 1282 VarBinder()->TopScope()->InsertBinding(ident->Name(), ident->Variable()); in AddGlobalDeclaration()
|
/arkcompiler/ets_frontend/es2panda/util/ |
H A D | patchFix.cpp | 486 auto &lexicalVarNameAndTypes = pg->TopScope()->GetLexicalVarNameAndTypes(); in CompareLexenv() 645 for (auto &variable: pg->TopScope()->GetLexicalVarNameAndTypes()) { in DumpFunctionInfo()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | binder.h | 91 FunctionScope *TopScope() const in TopScope() function in panda::es2panda::panda::es2panda::binder::Binder
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSparser.cpp | 1926 savedTopScope_(parser_->GetProgram()->VarBinder()->TopScope()) in ExternalSourceParser()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | helpers.cpp | 1391 for (auto [bindingName, var] : etsBinder->TopScope()->Bindings()) { in SetrModuleObjectTsType()
|