| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | recordTable.cpp | 39 BoundContext::BoundContext(RecordTable *recordTable, ir::TSInterfaceDeclaration *interfaceDecl) in BoundContext() argument 42 …if (interfaceDecl == nullptr || !recordTable_->interfaceDeclarations_.insert(interfaceDecl).second… in BoundContext() 47 recordTable_->record_ = interfaceDecl; in BoundContext() 48 recordIdent_ = interfaceDecl->Id(); in BoundContext() 49 interfaceDecl->SetInternalName(FormRecordName()); in BoundContext()
|
| D | recordTable.h | 169 explicit BoundContext(RecordTable *recordTable, ir::TSInterfaceDeclaration *interfaceDecl);
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | ETSemitter.cpp | 203 for (auto *interfaceDecl : globalRecordTable->InterfaceDeclarations()) { in GenAnnotation() local 204 GenInterfaceRecord(interfaceDecl, false); in GenAnnotation() 237 for (auto *interfaceDecl : recordTable->InterfaceDeclarations()) { in GenExternalRecord() local 238 GenInterfaceRecord(interfaceDecl, !isGenStdLib); in GenExternalRecord() 398 void ETSEmitter::GenInterfaceRecord(const ir::TSInterfaceDeclaration *interfaceDecl, bool external) in GenInterfaceRecord() argument 400 auto *baseType = interfaceDecl->TsType()->AsETSObjectType(); in GenInterfaceRecord() 402 auto interfaceRecord = pandasm::Record(interfaceDecl->InternalName().Mutf8(), Program()->lang); in GenInterfaceRecord() 410 if (interfaceDecl->IsStatic()) { in GenInterfaceRecord() 427 for (const auto *prop : interfaceDecl->Body()->Body()) { in GenInterfaceRecord()
|
| D | ETSemitter.h | 79 void GenInterfaceRecord(const ir::TSInterfaceDeclaration *interfaceDecl, bool external);
|
| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | declgenEts2Ts.cpp | 427 void TSDeclGen::GenInterfaceDeclaration(const ir::TSInterfaceDeclaration *interfaceDecl) in GenInterfaceDeclaration() argument 430 const auto interfaceName = interfaceDecl->Id()->Name().Mutf8(); in GenInterfaceDeclaration() 434 GenTypeParameters(interfaceDecl->TypeParams()); in GenInterfaceDeclaration() 439 for (auto *prop : interfaceDecl->Body()->Body()) { in GenInterfaceDeclaration()
|
| D | declgenEts2Ts.h | 59 void GenInterfaceDeclaration(const ir::TSInterfaceDeclaration *interfaceDecl);
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
| D | scopesInitPhase.cpp | 878 void InitScopesPhaseETS::VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) in VisitTSInterfaceDeclaration() argument 882 CallNode(interfaceDecl->TypeParams()); in VisitTSInterfaceDeclaration() 883 CallNode(interfaceDecl->Extends()); in VisitTSInterfaceDeclaration() 885 CallNode(interfaceDecl->Body()); in VisitTSInterfaceDeclaration() 886 BindScopeNode(localScope.GetScope(), interfaceDecl); in VisitTSInterfaceDeclaration() 888 auto name = FormInterfaceOrEnumDeclarationIdBinding(interfaceDecl->Id()); in VisitTSInterfaceDeclaration() 890 …VarBinder()->AddDecl<varbinder::InterfaceDecl>(interfaceDecl->Start(), Allocator(), name, interfac… in VisitTSInterfaceDeclaration() 891 decl->AsInterfaceDecl()->Add(interfaceDecl); in VisitTSInterfaceDeclaration()
|
| D | scopesInitPhase.h | 341 void VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) override;
|
| /arkcompiler/ets_frontend/ets2panda/checker/ets/ |
| D | object.cpp | 290 ETSObjectType *ETSChecker::BuildInterfaceProperties(ir::TSInterfaceDeclaration *interfaceDecl) in BuildInterfaceProperties() argument 292 auto *var = interfaceDecl->Id()->Variable(); in BuildInterfaceProperties() 297 interfaceType = CreateETSObjectType(var->Name(), interfaceDecl, in BuildInterfaceProperties() 305 if (interfaceDecl->TypeParams() != nullptr) { in BuildInterfaceProperties() 312 checker::ScopeContext scopeCtx(this, interfaceDecl->Scope()); in BuildInterfaceProperties()
|
| D | function.cpp | 1403 auto *interfaceDecl = Allocator()->New<ir::TSInterfaceDeclaration>( in CreateFunctionalInterfaceForFunctionType() local 1405 interfaceDecl->SetScope(interfaceScope); in CreateFunctionalInterfaceForFunctionType() 1406 interfaceDecl->AddModifier(ir::ModifierFlags::FUNCTIONAL); in CreateFunctionalInterfaceForFunctionType() 1407 funcType->SetFunctionalInterface(interfaceDecl); in CreateFunctionalInterfaceForFunctionType() 1408 invokeFunc->SetParent(interfaceDecl); in CreateFunctionalInterfaceForFunctionType()
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | TypedParser.cpp | 464 auto *interfaceDecl = AllocNode<ir::TSInterfaceDeclaration>( in ParseInterfaceDeclaration() local 466 interfaceDecl->SetRange({interfaceStart, Lexer()->GetToken().End()}); in ParseInterfaceDeclaration() 471 return interfaceDecl; in ParseInterfaceDeclaration()
|
| D | ETSparser.cpp | 1949 auto *interfaceDecl = AllocNode<ir::TSInterfaceDeclaration>( in ParseInterfaceBody() local 1955 return interfaceDecl; in ParseInterfaceBody()
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | statementParser.cpp | 786 auto *interfaceDecl = in ParseTsInterfaceDeclaration() local 788 interfaceDecl->SetRange({interfaceStart, lexer_->GetToken().End()}); in ParseTsInterfaceDeclaration() 793 decl->BindNode(interfaceDecl); in ParseTsInterfaceDeclaration() 795 decl->AsInterfaceDecl()->Add(interfaceDecl); in ParseTsInterfaceDeclaration() 800 return interfaceDecl; in ParseTsInterfaceDeclaration()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ |
| D | ETSchecker.h | 145 ETSObjectType *BuildInterfaceProperties(ir::TSInterfaceDeclaration *interfaceDecl);
|