Lines Matching defs:allocator
47 explicit TSBindings(ArenaAllocator *allocator) : allocator_(allocator) {} in TSBindings()
97 explicit ExportBindings(ArenaAllocator *allocator) in ExportBindings()
277 bool AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddDecl()
283 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl()
343 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope()
419 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent), in VariableScope()
479 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) in ParamScope()
493 …explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, pare… in FunctionParamScope()
538 explicit ScopeWithParamScope(ArenaAllocator *allocator, Scope *parent) : E(allocator, parent) {} in ScopeWithParamScope()
576 …explicit FunctionScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, … in FunctionScope()
620 explicit LocalScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in LocalScope()
633 …explicit CatchParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, parent)… in CatchParamScope()
648 …explicit CatchScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, par… in CatchScope()
661 … explicit LoopScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent) {} in LoopScope()
670 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
682 explicit GlobalScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in GlobalScope()
698 explicit ModuleScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in ModuleScope()
718 explicit TSModuleScope(ArenaAllocator *allocator, Scope *parent, ExportBindings *exportBindings) in TSModuleScope()
780 …explicit TSEnumScope(ArenaAllocator *allocator, Scope *parent, VariableMap *enumMemberBindings) : … in TSEnumScope()
832 bool VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddVar()
860 bool VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddFunction()
897 bool VariableScope::AddClass(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddClass()
918 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVaria… in AddTSBinding()
928 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, Decl *newDecl, VariableFlags flags) in AddTSBinding()
955 bool VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddLexical()
968 T *Scope::NewDecl(ArenaAllocator *allocator, Args &&... args) in NewDecl()
977 VariableType *Scope::AddDecl(ArenaAllocator *allocator, util::StringView name, VariableFlags flags) in AddDecl()
993 VariableType *Scope::CreateVar(ArenaAllocator *allocator, util::StringView name, VariableFlags flag… in CreateVar()
1003 void Scope::PropagateBinding(ArenaAllocator *allocator, util::StringView name, Args &&... args) in PropagateBinding()