Lines Matching defs:allocator
47 explicit TSBindings(ArenaAllocator *allocator) : allocator_(allocator) {} in TSBindings()
97 explicit ExportBindings(ArenaAllocator *allocator) in ExportBindings()
267 bool AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddDecl()
273 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl()
333 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope()
414 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent), in VariableScope()
471 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) 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()
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()
650 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
662 explicit GlobalScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in GlobalScope()
678 explicit ModuleScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in ModuleScope()
698 explicit TSModuleScope(ArenaAllocator *allocator, Scope *parent, ExportBindings *exportBindings) in TSModuleScope()
770 bool VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddVar()
798 bool VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddFunction()
828 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVaria… in AddTSBinding()
838 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, Decl *newDecl, VariableFlags flags) in AddTSBinding()
865 bool VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddLexical()
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()