Searched refs:AddTsDecl (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_frontend/es2panda/binder/ |
D | binder.h | 78 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()
|
D | scope.h | 283 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl() function
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | statementParser.cpp | 391 …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()
|
D | parserImpl.cpp | 3152 Binder()->AddTsDecl<binder::EnumLiteralDecl>(lexer_->GetToken().Start(), isDeclare, in ParseEnumDeclaration()
|