/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | recordTable.cpp | 45 BoundContext::BoundContext(RecordTable *recordTable, ir::TSInterfaceDeclaration *interfaceDecl, bool force) in BoundContext() argument 48 currentRecord_(interfaceDecl), in BoundContext() 51 if (interfaceDecl == nullptr || (!force && !recordTable_->interfaceDeclarations_.insert(interfaceDecl).second)) { in BoundContext() 56 recordTable_->record_ = interfaceDecl; in BoundContext() 57 recordIdent_ = interfaceDecl->Id(); in BoundContext() 58 if (interfaceDecl->InternalName() == "") { in BoundContext() 59 interfaceDecl->SetInternalName(FormRecordName()); in BoundContext()
|
H A D | recordTable.h | 177 explicit BoundContext(RecordTable *recordTable, ir::TSInterfaceDeclaration *interfaceDecl, bool force = false);
|
/arkcompiler/ets_frontend/ets2panda/parser/program/ |
H A D | entityNameVisitor.cpp | 44 void EntityNameVisitor::VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) in VisitTSInterfaceDeclaration() argument 46 name_ = interfaceDecl->AsTSInterfaceDeclaration()->Id()->Name(); in VisitTSInterfaceDeclaration()
|
H A D | entityNameVisitor.h | 31 void VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) override;
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSemitter.cpp | 215 for (auto *interfaceDecl : globalRecordTable->InterfaceDeclarations()) { in GenAnnotation() 216 GenInterfaceRecord(interfaceDecl, false); in GenAnnotation() 250 for (auto *interfaceDecl : recordTable->InterfaceDeclarations()) { in GenExternalRecord() 251 GenInterfaceRecord(interfaceDecl, !isGenStdLib); in GenExternalRecord() 391 void ETSEmitter::GenInterfaceRecord(const ir::TSInterfaceDeclaration *interfaceDecl, bool external) in GenInterfaceRecord() argument 393 auto *baseType = interfaceDecl->TsType()->AsETSObjectType(); in GenInterfaceRecord() 395 auto interfaceRecord = pandasm::Record(interfaceDecl->InternalName().Mutf8(), Program()->lang); in GenInterfaceRecord() 403 if (interfaceDecl->IsStatic()) { in GenInterfaceRecord() 421 for (const auto *prop : interfaceDecl->Body()->Body()) { in GenInterfaceRecord()
|
H A D | ETSemitter.h | 86 void GenInterfaceRecord(const ir::TSInterfaceDeclaration *interfaceDecl, bool external);
|
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/ |
H A D | declgenEts2Ts.cpp | 489 void TSDeclGen::GenInterfaceDeclaration(const ir::TSInterfaceDeclaration *interfaceDecl) in GenInterfaceDeclaration() argument 492 const auto interfaceName = interfaceDecl->Id()->Name().Mutf8(); in GenInterfaceDeclaration() 496 GenTypeParameters(interfaceDecl->TypeParams()); in GenInterfaceDeclaration() 501 for (auto *prop : interfaceDecl->Body()->Body()) { in GenInterfaceDeclaration() 516 ExportIfNeeded(interfaceDecl->Id()); in GenInterfaceDeclaration()
|
H A D | declgenEts2Ts.h | 60 void GenInterfaceDeclaration(const ir::TSInterfaceDeclaration *interfaceDecl);
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
H A D | scopesInitPhase.cpp | 1025 void InitScopesPhaseETS::VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) in VisitTSInterfaceDeclaration() argument 1028 auto typeParamsCtx = LexicalScopeCreateOrEnter<varbinder::LocalScope>(VarBinder(), interfaceDecl->TypeParams()); in VisitTSInterfaceDeclaration() 1029 CallNode(interfaceDecl->TypeParams()); in VisitTSInterfaceDeclaration() 1030 CallNode(interfaceDecl->Extends()); in VisitTSInterfaceDeclaration() 1031 auto localScope = LexicalScopeCreateOrEnter<varbinder::ClassScope>(VarBinder(), interfaceDecl); in VisitTSInterfaceDeclaration() 1032 CallNode(interfaceDecl->Body()); in VisitTSInterfaceDeclaration() 1033 BindScopeNode(localScope.GetScope(), interfaceDecl); in VisitTSInterfaceDeclaration() 1035 auto name = FormInterfaceOrEnumDeclarationIdBinding(interfaceDecl->Id()); in VisitTSInterfaceDeclaration() 1036 auto *decl = AddOrGetDecl<varbinder::InterfaceDecl>(VarBinder(), name, interfaceDecl, interfaceDecl in VisitTSInterfaceDeclaration() [all...] |
H A D | scopesInitPhase.h | 354 void VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) override;
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
H A D | importExportDecls.cpp | 187 void ImportExportDecls::VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) in VisitTSInterfaceDeclaration() argument 189 fieldMap_.emplace(interfaceDecl->Id()->Name(), interfaceDecl); in VisitTSInterfaceDeclaration()
|
H A D | importExportDecls.h | 81 void VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) override;
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | object.cpp | 341 ETSObjectType *ETSChecker::BuildBasicInterfaceProperties(ir::TSInterfaceDeclaration *interfaceDecl) in BuildBasicInterfaceProperties() argument 343 auto *var = interfaceDecl->Id()->Variable(); in BuildBasicInterfaceProperties() 348 interfaceType = CreateETSObjectType(var->Name(), interfaceDecl, checker::ETSObjectFlags::INTERFACE); in BuildBasicInterfaceProperties() 356 if (interfaceDecl->TypeParams() != nullptr) { in BuildBasicInterfaceProperties()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSparserClasses.cpp | 674 auto *interfaceDecl = AllocNode<ir::TSInterfaceDeclaration>( in ParseInterfaceBody() local 682 return interfaceDecl; in ParseInterfaceBody()
|
H A D | TypedParser.cpp | 469 auto *interfaceDecl = AllocNode<ir::TSInterfaceDeclaration>( in ParseInterfaceDeclaration() local 473 interfaceDecl->SetRange({interfaceStart, Lexer()->GetToken().End()}); in ParseInterfaceDeclaration() 478 return interfaceDecl; in ParseInterfaceDeclaration()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | statementParser.cpp | 823 auto *interfaceDecl = in ParseTsInterfaceDeclaration() local 825 interfaceDecl->SetRange({interfaceStart, lexer_->GetToken().End()}); in ParseTsInterfaceDeclaration() 830 decl->BindNode(interfaceDecl); in ParseTsInterfaceDeclaration() 832 decl->AsInterfaceDecl()->Add(interfaceDecl); in ParseTsInterfaceDeclaration() 837 return interfaceDecl; in ParseTsInterfaceDeclaration()
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | ETSchecker.h | 160 ETSObjectType *BuildBasicInterfaceProperties(ir::TSInterfaceDeclaration *interfaceDecl);
|