Home
last modified time | relevance | path

Searched defs:newDecl (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/varbinder/
Dscope.cpp255 Variable *Scope::AddLocalVar(ArenaAllocator *allocator, Decl *newDecl) in AddLocalVar()
272 Variable *Scope::AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddLocal()
382 Variable *ParamScope::AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,… in AddParam()
442 … [[maybe_unused]] Variable *currentVariable, [[maybe_unused]] Decl *newDecl, in AddBinding()
448 …ble *FunctionScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
497 …iable *GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
595 …iable *ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
654 …riable *ModuleScope::AddImport(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddImport()
758 …riable *LocalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
764 …ScopeWithTypeAlias::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
[all …]
Dscope.h793 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
839 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
944 Variable *VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddVar()
966 …le *VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddFunction()
993 Decl *newDecl, VariableFlags flags) in AddTSBinding()
1000 …ble *VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddLexical()
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp423 bool Scope::AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddLocal()
472 bool ParamScope::AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, Vari… in AddParam()
530 … [[maybe_unused]] Variable *currentVariable, [[maybe_unused]] Decl *newDecl, in AddBinding()
582 bool FunctionScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
665 bool TSEnumScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
700 bool GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
762 bool ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
823 bool LocalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
843 …ol CatchParamScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
849 bool CatchScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
Dscope.h881 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
981 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
1000 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
1218 bool VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddVar()
1246 bool VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddFunction()
1283 bool VariableScope::AddClass(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddClass()
1304 …:AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVariable, Decl *newDecl, in AddTSBinding()
1314 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, Decl *newDecl, VariableFlags flags) in AddTSBinding()
1341 bool VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddLexical()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DboxingForLocals.cpp146 auto *newDecl = allocator->New<varbinder::ConstDecl>(id->Name(), newDeclarator); in HandleFunctionParam() local
197 auto *newDecl = allocator->New<varbinder::ConstDecl>(oldVar->Name(), newDeclarator); in HandleVariableDeclarator() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
DutilityTypeHandlers.cpp169 varbinder::Decl *const newDecl = in CreateNullishProperty() local
484 …auto *newDecl = Allocator()->New<varbinder::ReadonlyDecl>(property->Name(), property->Declaration(… in MakePropertiesReadonly() local
/arkcompiler/ets_frontend/ets2panda/linter/lib/autofixes/
DAutofixer.ts804 … const newDecl = Autofixer.replacePrivateIdentInDeclarationName(newMods, newName, ident.parent); constant
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp365 auto newDecl = VisitTSNode(decl); in VisitExportClassDeclaration() local
1776 auto newDecl = VisitTSNode(decl); in VisitExportNamedVariable() local