Lines Matching defs:currentVariable

262     virtual Variable *AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
305 Variable *AddLocal(ArenaAllocator *allocator, Variable *currentVariable, 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,
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)
952 if (!currentVariable) {
956 switch (currentVariable->Declaration()->Type()) {
958 currentVariable->Reset(newDecl, VariableFlags::HOIST_VAR);
963 return currentVariable;
972 Variable *VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
977 if (!currentVariable) {
985 switch (currentVariable->Declaration()->Type()) {
988 currentVariable->Reset(newDecl, VariableFlags::HOIST_VAR);
989 return currentVariable;
998 Variable *VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVariable,
1001 ASSERT(!currentVariable);
1006 Variable *VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1008 if (currentVariable) {