Home
last modified time | relevance | path

Searched refs:TopScope (Results 1 - 24 of 24) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.cpp36 rootNode_(binder->TopScope()->Node()->AsBlockStatement()), in Checker()
37 scope_(binder->TopScope()), in Checker()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dhoisting.cpp95 auto *var = pg->TopScope()->FindLocal(nameSpaceEntry->localName_); in HoistNameSpaceImports()
100 pg->StoreVar(node, {nameSpaceEntry->localName_, pg->TopScope(), 0, var}, true); in HoistNameSpaceImports()
H A Dlexenv.cpp56 !util::Helpers::IsChildScope(classDef->StaticInitializer()->Function()->Scope(), pg->TopScope())) { in ExpandLoadLexVar()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DexpandBrackets.cpp59 : checker->VarBinder()->TopScope(); in ProcessNewArrayInstanceExpression()
91 : checker->VarBinder()->TopScope(); in ProcessNewMultiDimArrayInstanceExpression()
H A DlambdaLowering.cpp803 varBinder->ResolveReferencesForScopeWithContext(classDeclaration, varBinder->TopScope()); in CreateLambdaClass()
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A DETSBinder.cpp72 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 DETSBinder.h275 TopScope()->EraseBinding(imported); in FindLocalNameForImport()
H A Dvarbinder.h133 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 Dfunction.cpp233 auto *funcParamScope = pg->TopScope()->ParamScope(); in CompileFunction()
260 auto *topScope = pg->TopScope(); in Compile()
H A DETSfunction.cpp161 auto *topScope = etsg->TopScope(); in Compile()
H A DcodeGen.cpp39 const varbinder::FunctionScope *CodeGen::TopScope() const noexcept
H A DcodeGen.h100 [[nodiscard]] const varbinder::FunctionScope *TopScope() const noexcept;
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DvarbinderScopes.h32 prevTopScope_(varBinder->TopScope()), in ProgramScope()
H A Dhelpers.cpp280 binderTopScope_(varBinder->TopScope()), in SafeStateScope()
299 ASSERT(binderTopScope_ == varBinder_->TopScope()); in ~SafeStateScope()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSchecker.cpp38 const auto varMap = checker->VarBinder()->TopScope()->Bindings(); in InitBuiltin()
143 const auto varMap = varbinder->TopScope()->Bindings(); in InitializeBuiltins()
H A Dchecker.cpp47 scope_ = varbinder_->TopScope(); in Initialize()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dfunction.cpp243 auto *funcParamScope = pg->TopScope()->ParamScope(); in CompileFunction()
273 const auto *topScope = pg->TopScope(); in CompileFunctionOrProgram()
H A Dpandagen.h120 binder::FunctionScope *TopScope() const in TopScope() function in panda::es2panda::compiler::PandaGen
/arkcompiler/ets_frontend/ets2panda/test/unit/dynamic/
H A Ddynamic_call_test.cpp95 auto var = varbinder->TopScope()->Find(specifierName); in AddDynImport()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp487 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 DpatchFix.cpp486 auto &lexicalVarNameAndTypes = pg->TopScope()->GetLexicalVarNameAndTypes(); in CompareLexenv()
645 for (auto &variable: pg->TopScope()->GetLexicalVarNameAndTypes()) { in DumpFunctionInfo()
/arkcompiler/ets_frontend/es2panda/binder/
H A Dbinder.h91 FunctionScope *TopScope() const in TopScope() function in panda::es2panda::panda::es2panda::binder::Binder
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparser.cpp1926 savedTopScope_(parser_->GetProgram()->VarBinder()->TopScope()) in ExternalSourceParser()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dhelpers.cpp1391 for (auto [bindingName, var] : etsBinder->TopScope()->Bindings()) { in SetrModuleObjectTsType()

Completed in 25 milliseconds