Searched refs:TSBindingType (Results 1 - 8 of 8) sorted by relevance
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | scope.h | 58 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 D | binder.cpp | 1060 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 D | variableFlags.h | 175 enum class TSBindingType : size_t { class
|
H A D | scope.cpp | 446 return tsBindings_.AddTSVariable<TSBindingType::ENUMLITERAL>( in AddLocal()
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
H A D | transformer.cpp | 181 !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 D | transformer.h | 227 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 D | statementParser.cpp | 415 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 D | parserImpl.cpp | 3617 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