Home
last modified time | relevance | path

Searched refs:Bindings (Results 1 - 22 of 22) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dscope.cpp326 const auto &varMap = Bindings(); in CheckDirectEval()
566 return Scope::InsertResult {Bindings().end(), false}; in InsertImpl()
582 ASSERT(Bindings().find(name) != Bindings().end()); in IsForeignBinding()
724 auto found = typeAliasScope_->Bindings().find(name); in FindLocal()
725 if (found != typeAliasScope_->Bindings().end()) { in FindLocal()
738 auto res = Bindings().find(interfaceNameView); in FindLocal()
739 if (res != Bindings().end()) { in FindLocal()
748 auto res = Bindings().find(name); in FindLocal()
749 if (res == Bindings() in FindLocal()
[all...]
H A DETSBinder.cpp537 for (const auto [bindingName, var] : importProgram->GlobalClassScope()->StaticMethodScope()->Bindings()) { in ImportAllForeignBindings()
543 for (const auto [bindingName, var] : importProgram->GlobalClassScope()->StaticFieldScope()->Bindings()) { in ImportAllForeignBindings()
598 const auto &staticMethodBindings = recordRes.front()->GlobalClassScope()->StaticMethodScope()->Bindings(); in FindImportSpecifiersVariable()
605 const auto &staticFieldBindings = res->GlobalClassScope()->StaticFieldScope()->Bindings(); in FindImportSpecifiersVariable()
645 if (FindImportSpecifiersVariable(imported, record.front()->GlobalScope()->Bindings(), record) == nullptr) { in FindImportDeclInReExports()
778 const auto &staticMethodBindings = recordRes.front()->GlobalClassScope()->StaticMethodScope()->Bindings(); in FindStaticBinding()
781 const auto &staticFieldBindings = recordRes.front()->GlobalClassScope()->StaticFieldScope()->Bindings(); in FindStaticBinding()
830 const auto &globalBindings = importGlobalScope->Bindings(); in AddSpecifiersToTopBindings()
1097 if (!(!insRes.second && insRes.first != TopScope()->Bindings().end()) || !(insRes.first->second != var)) { in ImportGlobalPropertiesForNotDefaultedExports()
H A Dscope.h250 const VariableMap &Bindings() const in Bindings() function in ark::es2panda::ark::es2panda::ark::es2panda::varbinder::Scope
502 this->MergeBindings(paramScope->Bindings()); in BindParamScope()
/arkcompiler/ets_frontend/ets2panda/test/unit/lowerings/
H A Dscopes_initialization.cpp91 const auto &scopeBindings = blockScope->Bindings(); in TEST_F()
92 const auto &parBindings = parScope->Bindings(); in TEST_F()
120 const auto &bodyBindings = bodyScope->Bindings(); in TEST_F()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DsavedBindingsCtx.cpp52 if (VarBinder()->GetScope()->Bindings().size() == SavedBindings().size()) { in BindExportDecl()
63 for (const auto &[name, variable] : VarBinder()->GetScope()->Bindings()) { in BindExportDecl()
H A DsavedBindingsCtx.h26 : varbinder_(varbinder), savedBindings_(varbinder_->GetScope()->Bindings()) in SavedBindingsContext()
H A DscopesInitPhase.cpp530 const auto &bindings = VarBinder()->GetScope()->Bindings(); in VisitTSInterfaceDeclaration()
585 const auto &bindings = VarBinder()->GetScope()->Bindings(); in VisitTSEnumDeclaration()
666 const auto &bindings = VarBinder()->GetScope()->Bindings(); in CreateFuncDecl()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DregScope.cpp63 for (const auto &[_, var] : scope->Bindings()) { in LocalRegScope()
108 for (const auto &[_, var] : funcScope->Bindings()) { in FunctionRegScope()
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dhoisting.cpp63 for (const auto &[_, var] : scope->Bindings()) { in Hoist()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A DvariableHasScope.cpp97 if (scope->Bindings().count(var->Name()) == 0) { in ScopeEncloseVariable()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dhoisting.cpp109 for (const auto &[_, var] : scope->Bindings()) { in Hoist()
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DscriptFunction.h63 scope_->Bindings().erase(THIS_PARAM); in ScriptFunction()
/arkcompiler/ets_frontend/es2panda/binder/
H A Dscope.h340 VariableMap &Bindings() in Bindings() function in Scope
345 const VariableMap &Bindings() const in Bindings() function in Scope
718 this->bindings_ = paramScope->Bindings(); in BindParamScope()
742 this->bindings_.insert(paramScope_->Bindings().begin(), paramScope_->Bindings().end()); in AddBindsFromParam()
H A Dbinder.cpp299 scope->Bindings().insert({argumentsVariable->Name(), argumentsVariable}); in InstantiateArguments()
962 scope_->AsFunctionVariableScope()->ParamScope()->Bindings().insert({decl->Name(), param}); in AddMandatoryParam()
963 scope_->AsFunctionVariableScope()->Bindings().insert({decl->Name(), param}); in AddMandatoryParam()
H A Dscope.cpp438 scope->Bindings().insert({newDecl->Name(), allocator->New<GlobalVariable>(newDecl, varFlags)}); in AddLocal()
526 functionScope_->Bindings().insert({name, nameVar_}); in BindName()
/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()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dobject.cpp429 for (auto &[_, it] : scope->InstanceFieldScope()->Bindings()) { in ResolveDeclaredFieldsOfObject()
437 for (auto &[_, it] : scope->StaticFieldScope()->Bindings()) { in ResolveDeclaredFieldsOfObject()
448 for (auto &[_, it] : scope->InstanceMethodScope()->Bindings()) { in ResolveDeclaredMethodsOfObject()
465 for (auto &[_, it] : scope->StaticMethodScope()->Bindings()) { in ResolveDeclaredMethodsOfObject()
495 for (auto &[_, it] : scope->InstanceDeclScope()->Bindings()) { in ResolveDeclaredDeclsOfObject()
501 for (auto &[_, it] : scope->StaticDeclScope()->Bindings()) { in ResolveDeclaredDeclsOfObject()
2080 for (const auto &[name, var] : VarBinder()->GetScope()->Bindings()) {
H A Dhelpers.cpp1372 moduleObjType, importDecl, program->GlobalClassScope()->StaticFieldScope()->Bindings()); in SetPropertiesForModuleObject()
1375 moduleObjType, importDecl, program->GlobalClassScope()->StaticMethodScope()->Bindings()); in SetPropertiesForModuleObject()
1378 moduleObjType, importDecl, program->GlobalClassScope()->StaticDeclScope()->Bindings()); in SetPropertiesForModuleObject()
1381 moduleObjType, importDecl, program->GlobalClassScope()->InstanceDeclScope()->Bindings()); in SetPropertiesForModuleObject()
1384 moduleObjType, importDecl, program->GlobalClassScope()->TypeAliasScope()->Bindings()); in SetPropertiesForModuleObject()
1391 for (auto [bindingName, var] : etsBinder->TopScope()->Bindings()) { in SetrModuleObjectTsType()
H A Dfunction.cpp1898 auto res = asyncFunc->Scope()->Bindings().find(decl->Name()); in CreateAsyncProxy()
1899 ASSERT(res != asyncFunc->Scope()->Bindings().end()); in CreateAsyncProxy()
2037 for (auto [_, var] : trailingBlock->Scope()->Bindings()) { in TransformTraillingLambda()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A Demitter.cpp328 const auto &unsortedBindings = scope->Bindings(); in GenScopeVariableInfoEnd()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
H A Demitter.cpp531 for (const auto &[name, variable] : scope->Bindings()) { in GenScopeVariableInfo()
/arkcompiler/ets_frontend/es2panda/parser/
H A DstatementParser.cpp790 const auto &bindings = Binder()->GetScope()->Bindings(); in ParseTsInterfaceDeclaration()
1257 const auto &bindings = Binder()->GetScope()->Bindings(); in AddFunctionToBinder()

Completed in 35 milliseconds