• Home
  • Raw
  • Download

Lines Matching full:scope

39 class Scope;
143 …ScopeFindResult(util::StringView n, Scope *s, uint32_t l, Variable *v) : ScopeFindResult(n, s, l, … in ScopeFindResult()
144 …ScopeFindResult(Scope *s, uint32_t l, uint32_t ll, Variable *v) : scope(s), level(l), lexLevel(ll)… in ScopeFindResult()
145 ScopeFindResult(util::StringView n, Scope *s, uint32_t l, uint32_t ll, Variable *v, bool c) in ScopeFindResult()
146 : name(n), scope(s), level(l), lexLevel(ll), variable(v), crossConcurrent(c) in ScopeFindResult()
151 Scope *scope {};
158 class Scope {
160 virtual ~Scope() = default;
161 NO_COPY_SEMANTIC(Scope);
162 NO_MOVE_SEMANTIC(Scope);
227 Scope *Parent() in Parent()
232 const Scope *Parent() const in Parent()
333 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope() function
348 …std::tuple<Scope *, bool> IterateShadowedVariables(const util::StringView &name, const VariableVis…
353 void SetParent(Scope *parent) in SetParent()
358 Scope *parent_ {};
367 class VariableScope : public Scope {
414 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent), in VariableScope()
440 class ParamScope : public Scope {
471 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) in ParamScope()
472 : Scope(allocator, parent), params_(allocator->Adapter()) in ParamScope()
485 …explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, pare… in FunctionParamScope()
529 explicit ScopeWithParamScope(ArenaAllocator *allocator, Scope *parent) : E(allocator, parent) {} in ScopeWithParamScope()
567 …explicit FunctionScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, … in FunctionScope()
598 class LocalScope : public Scope {
600 explicit LocalScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in LocalScope()
613 …explicit CatchParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, parent)… in CatchParamScope()
628 …explicit CatchScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, par… in CatchScope()
641 … explicit LoopScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent) {} in LoopScope()
698 explicit TSModuleScope(ArenaAllocator *allocator, Scope *parent, ExportBindings *exportBindings) in TSModuleScope()
878 T *Scope::NewDecl(ArenaAllocator *allocator, Args &&... args) in NewDecl()
887 VariableType *Scope::AddDecl(ArenaAllocator *allocator, util::StringView name, VariableFlags flags) in AddDecl()
903 VariableType *Scope::CreateVar(ArenaAllocator *allocator, util::StringView name, VariableFlags flag… in CreateVar()
913 void Scope::PropagateBinding(ArenaAllocator *allocator, util::StringView name, Args &&... args) in PropagateBinding()