Lines Matching defs:currentVariable
350 virtual bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
456 bool AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
595 bool AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
598 bool AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
602 bool AddClass(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
605 bool AddTSBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags);
611 bool AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
655 bool AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags);
688 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
791 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
846 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
881 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
884 return AddLocal(allocator, currentVariable, newDecl, extension);
951 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
966 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
981 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
984 return AddLocal(allocator, currentVariable, newDecl, extension);
1000 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1003 return AddLocal(allocator, currentVariable, newDecl, extension);
1022 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1064 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1191 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1218 bool VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1223 if (!currentVariable) {
1228 switch (currentVariable->Declaration()->Type()) {
1230 currentVariable->Reset(newDecl, flags);
1246 bool VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1252 if (!currentVariable) {
1257 auto decl = currentVariable->Declaration();
1268 switch (currentVariable->Declaration()->Type()) {
1271 currentVariable->Reset(newDecl, flags);
1283 bool VariableScope::AddClass(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1289 if (!currentVariable) {
1294 auto decl = currentVariable->Declaration();
1304 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVariable, Decl *newDecl,
1307 ASSERT(!currentVariable);
1341 bool VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1345 if (currentVariable) {