Home
last modified time | relevance | path

Searched refs:TSBindingType (Results 1 - 8 of 8) sorted by relevance

/arkcompiler/ets_frontend/es2panda/binder/
H A Dscope.h58 template <TSBindingType type>
61 static_assert(type < TSBindingType::COUNT); in AddTSVariable()
69 template <TSBindingType type>
72 static_assert(type < TSBindingType::COUNT); in FindTSVariable()
86 for (size_t i = 0; i < GetIndex(TSBindingType::COUNT); i++) { in InTSBindings()
95 size_t GetIndex(TSBindingType type) const in GetIndex()
101 std::array<VariableMap *, static_cast<size_t>(TSBindingType::COUNT)> tsBindings_ {};
132 template <TSBindingType type>
138 template <TSBindingType type>
370 template <TSBindingType typ
[all...]
H A Dbinder.cpp1060 fn(currentScope->FindLocalTSVariable<binder::TSBindingType::NAMESPACE>(name)); in FindIdentifierTSVariables()
1061 fn(currentScope->FindLocalTSVariable<binder::TSBindingType::ENUMLITERAL>(name)); in FindIdentifierTSVariables()
1062 fn(currentScope->FindLocalTSVariable<binder::TSBindingType::IMPORT_EQUALS>(name)); in FindIdentifierTSVariables()
1064 fn(currentScope->AsTSModuleScope()->FindExportTSVariable<binder::TSBindingType::NAMESPACE>(name)); in FindIdentifierTSVariables()
1065 fn(currentScope->AsTSModuleScope()->FindExportTSVariable<binder::TSBindingType::ENUMLITERAL>(name)); in FindIdentifierTSVariables()
1066 fn(currentScope->AsTSModuleScope()->FindExportTSVariable<binder::TSBindingType::IMPORT_EQUALS>(name)); in FindIdentifierTSVariables()
H A DvariableFlags.h175 enum class TSBindingType : size_t { class
H A Dscope.cpp446 return tsBindings_.AddTSVariable<TSBindingType::ENUMLITERAL>( in AddLocal()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp181 !currentScope->FindLocalTSVariable<binder::TSBindingType::IMPORT_EQUALS>(name)) { in FindExportVariableInTsModuleScope()
1696 binder::Variable *res = exportTSBindings->FindExportTSVariable<binder::TSBindingType::NAMESPACE>(name); in FindTSModuleVariable()
1700 res = exportTSBindings->FindExportTSVariable<binder::TSBindingType::IMPORT_EQUALS>(name); in FindTSModuleVariable()
1711 exportTSBindings->FindExportTSVariable<binder::TSBindingType::ENUMLITERAL>(name) == nullptr; in FindTSModuleVariable()
1719 auto *res = FindTSVariable<binder::TSBindingType::NAMESPACE>(currentScope, name); in FindTSModuleVariable()
1724 res = FindTSVariable<binder::TSBindingType::IMPORT_EQUALS>(currentScope, name); in FindTSModuleVariable()
1733 res = FindTSVariable<binder::TSBindingType::ENUMLITERAL>(currentScope, name); in FindTSModuleVariable()
1753 template <binder::TSBindingType type>
2342 const std::vector<binder::TSBindingType> types = {binder::TSBindingType in FindFrontIdentifierTSVariables()
[all...]
H A Dtransformer.h227 const std::vector<binder::TSBindingType> &types,
230 const std::vector<binder::TSBindingType> &types,
248 template <binder::TSBindingType type>
/arkcompiler/ets_frontend/es2panda/parser/
H A DstatementParser.cpp415 binder::Variable *res = parentScope->FindLocalTSVariable<binder::TSBindingType::NAMESPACE>(name); in ParseTsModuleOrNamespaceDelaration()
417 res = parentScope->AsTSModuleScope()->FindExportTSVariable<binder::TSBindingType::NAMESPACE>(name); in ParseTsModuleOrNamespaceDelaration()
419 parentScope->AddLocalTSVariable<binder::TSBindingType::NAMESPACE>(name, res); in ParseTsModuleOrNamespaceDelaration()
424 res = parentScope->FindLocalTSVariable<binder::TSBindingType::NAMESPACE>(name); in ParseTsModuleOrNamespaceDelaration()
426 parentScope->AsTSModuleScope()->AddExportTSVariable<binder::TSBindingType::NAMESPACE>(name, res); in ParseTsModuleOrNamespaceDelaration()
518 auto *var = scope->FindLocalTSVariable<binder::TSBindingType::IMPORT_EQUALS>(name); in ParseTsImportEqualsDeclaration()
522 scope->AsTSModuleScope()->AddExportTSVariable<binder::TSBindingType::IMPORT_EQUALS>(name, var); in ParseTsImportEqualsDeclaration()
3122 auto *var = scope->FindLocalTSVariable<binder::TSBindingType::IMPORT_EQUALS>(local->Name()); in ParseImportDefaultSpecifier()
H A DparserImpl.cpp3617 binder::Variable *res = currentScope->FindLocalTSVariable<binder::TSBindingType::ENUMLITERAL>(ident); in ParseEnumDeclaration()
3619 res = currentScope->AsTSModuleScope()->FindExportTSVariable<binder::TSBindingType::ENUMLITERAL>(ident); in ParseEnumDeclaration()
3621 currentScope->AddLocalTSVariable<binder::TSBindingType::ENUMLITERAL>(ident, res); in ParseEnumDeclaration()
3627 res = currentScope->FindLocalTSVariable<binder::TSBindingType::ENUMLITERAL>(ident); in ParseEnumDeclaration()
3629 currentScope->AsTSModuleScope()->AddExportTSVariable<binder::TSBindingType::ENUMLITERAL>(ident, res); in ParseEnumDeclaration()

Completed in 22 milliseconds