Home
last modified time | relevance | path

Searched refs:interfaceDecl (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/varbinder/
H A DrecordTable.cpp45 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 DrecordTable.h177 explicit BoundContext(RecordTable *recordTable, ir::TSInterfaceDeclaration *interfaceDecl, bool force = false);
/arkcompiler/ets_frontend/ets2panda/parser/program/
H A DentityNameVisitor.cpp44 void EntityNameVisitor::VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) in VisitTSInterfaceDeclaration() argument
46 name_ = interfaceDecl->AsTSInterfaceDeclaration()->Id()->Name(); in VisitTSInterfaceDeclaration()
H A DentityNameVisitor.h31 void VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) override;
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSemitter.cpp215 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 DETSemitter.h86 void GenInterfaceRecord(const ir::TSInterfaceDeclaration *interfaceDecl, bool external);
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
H A DdeclgenEts2Ts.cpp489 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 DdeclgenEts2Ts.h60 void GenInterfaceDeclaration(const ir::TSInterfaceDeclaration *interfaceDecl);
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp1025 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 DscopesInitPhase.h354 void VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) override;
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
H A DimportExportDecls.cpp187 void ImportExportDecls::VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) in VisitTSInterfaceDeclaration() argument
189 fieldMap_.emplace(interfaceDecl->Id()->Name(), interfaceDecl); in VisitTSInterfaceDeclaration()
H A DimportExportDecls.h81 void VisitTSInterfaceDeclaration(ir::TSInterfaceDeclaration *interfaceDecl) override;
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dobject.cpp341 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 DETSparserClasses.cpp674 auto *interfaceDecl = AllocNode<ir::TSInterfaceDeclaration>( in ParseInterfaceBody() local
682 return interfaceDecl; in ParseInterfaceBody()
H A DTypedParser.cpp469 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 DstatementParser.cpp823 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 DETSchecker.h160 ETSObjectType *BuildBasicInterfaceProperties(ir::TSInterfaceDeclaration *interfaceDecl);

Completed in 20 milliseconds