Lines Matching refs:VariableScope

49 class VariableScope;
237 VariableScope *AsVariableScope()
240 return reinterpret_cast<VariableScope *>(this);
243 const VariableScope *AsVariableScope() const
246 return reinterpret_cast<const VariableScope *>(this);
249 VariableScope *EnclosingVariableScope();
522 class VariableScope : public Scope {
524 ~VariableScope() override = default;
525 NO_COPY_SEMANTIC(VariableScope);
526 NO_MOVE_SEMANTIC(VariableScope);
589 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent),
754 class FunctionScope : public ScopeWithParamScope<VariableScope, FunctionParamScope> {
850 class ClassScope : public VariableScope {
853 : VariableScope(allocator, parent),
970 class LoopScope : public VariableScope {
972 explicit LoopScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent) {}
991 class StaticBlockScope : public VariableScope {
993 explicit StaticBlockScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent) {}
1206 inline VariableFlags VariableScope::DeclFlagToVariableFlag(DeclarationFlags declFlag)
1218 bool VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1246 bool VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1283 bool VariableScope::AddClass(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1304 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVariable, Decl *newDecl,
1314 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, Decl *newDecl, VariableFlags flags)
1341 bool VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)