Home
last modified time | relevance | path

Searched refs:AddTsDecl (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.h78 T *AddTsDecl(const lexer::SourcePosition &pos, bool isDeclare, Args &&... args);
81 …T *AddTsDecl(const lexer::SourcePosition &pos, DeclarationFlags flag, bool isDeclare, Args &&... a…
279 T *Binder::AddTsDecl(const lexer::SourcePosition &pos, bool isDeclare, Args &&... args) in AddTsDecl() function
284 if (scope_->AddTsDecl(Allocator(), decl, program_->Extension())) { in AddTsDecl()
293 T *Binder::AddTsDecl(const lexer::SourcePosition &pos, DeclarationFlags flag, bool isDeclare, Args … in AddTsDecl() function
299 if (scope_->AddTsDecl(Allocator(), decl, program_->Extension())) { in AddTsDecl()
Dscope.h283 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl() function
/arkcompiler/ets_frontend/es2panda/parser/
DstatementParser.cpp391 …Binder()->AddTsDecl<binder::NamespaceDecl>(lexer_->GetToken().Start(), isDeclare, Allocator(), nam… in ParseTsModuleOrNamespaceDelaration()
703 …auto *decl = Binder()->AddTsDecl<binder::TypeAliasDecl>(lexer_->GetToken().Start(), isDeclare, tsB… in ParseTsTypeAliasDeclaration()
757 decl = Binder()->AddTsDecl<binder::InterfaceDecl>(lexer_->GetToken().Start(), isDeclare, in ParseTsInterfaceDeclaration()
2766 return Binder()->AddTsDecl<binder::TypeAliasDecl>(startPos, flag, false, tsBinding.View()); in AddImportDecl()
DparserImpl.cpp3152 Binder()->AddTsDecl<binder::EnumLiteralDecl>(lexer_->GetToken().Start(), isDeclare, in ParseEnumDeclaration()