Lines Matching refs:VariableScope
44 class VariableScope;
124 VariableScope *AsVariableScope()
127 return reinterpret_cast<VariableScope *>(this);
130 const VariableScope *AsVariableScope() const
133 return reinterpret_cast<const VariableScope *>(this);
136 VariableScope *EnclosingVariableScope();
138 const VariableScope *EnclosingVariableScope() const;
371 class VariableScope : public Scope {
373 ~VariableScope() override = default;
374 NO_COPY_SEMANTIC(VariableScope);
375 NO_MOVE_SEMANTIC(VariableScope);
400 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {}
572 class FunctionScope : public ScopeWithParamScope<VariableScope, FunctionParamScope> {
784 class LoopDeclarationScope : public VariableScope {
786 explicit LoopDeclarationScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent) {}
817 class LoopScope : public VariableScope {
819 explicit LoopScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent)
950 Variable *VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
972 Variable *VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
998 Variable *VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVariable,
1006 Variable *VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)