Lines Matching refs:newDecl
262 virtual Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
305 Variable *AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
308 Variable *AddLocalVar(ArenaAllocator *allocator, Decl *newDecl);
403 Variable *AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
406 Variable *AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
410 Variable *AddTSBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags);
413 Variable *AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
446 Variable *AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags);
480 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
536 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
555 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
612 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
706 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
742 void SetBindingProps(Decl *newDecl, BindingProps *props, bool isStatic);
763 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
778 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
793 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
796 return AddLocal(allocator, currentVariable, newDecl, extension);
845 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
848 return AddLocal(allocator, currentVariable, newDecl, extension);
873 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
935 Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
941 Variable *AddImport(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
950 Variable *VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
953 return InsertBinding(newDecl->Name(), allocator->New<T>(newDecl, VariableFlags::HOIST_VAR)).first->second;
958 currentVariable->Reset(newDecl, VariableFlags::HOIST_VAR);
972 Variable *VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
978 return InsertBinding(newDecl->Name(), allocator->New<T>(newDecl, flags)).first->second;
988 currentVariable->Reset(newDecl, VariableFlags::HOIST_VAR);
999 Decl *newDecl, VariableFlags flags)
1002 return InsertBinding(newDecl->Name(), allocator->New<T>(newDecl, flags)).first->second;
1006 Variable *VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1012 return InsertBinding(newDecl->Name(), allocator->New<T>(newDecl, VariableFlags::NONE)).first->second;