Lines Matching defs:allocator
52 explicit TSBindings(ArenaAllocator *allocator) : allocator_(allocator) {} in TSBindings()
102 explicit ExportBindings(ArenaAllocator *allocator) in ExportBindings()
299 bool AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddDecl()
305 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl()
376 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope()
457 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent), in VariableScope()
517 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) in ParamScope()
531 …explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, pare… in FunctionParamScope()
576 explicit ScopeWithParamScope(ArenaAllocator *allocator, Scope *parent) : E(allocator, parent) {} in ScopeWithParamScope()
619 …explicit FunctionScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, … in FunctionScope()
663 explicit LocalScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in LocalScope()
676 explicit ClassScope(ArenaAllocator *allocator, Scope *parent) in ClassScope()
703 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
743 …explicit CatchParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, parent)… in CatchParamScope()
758 …explicit CatchScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, par… in CatchScope()
771 … explicit LoopScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, parent) {} in LoopScope()
780 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
792 …explicit StaticBlockScope(ArenaAllocator *allocator, Scope *parent) : VariableScope(allocator, par… in StaticBlockScope()
799 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
811 explicit GlobalScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in GlobalScope()
827 explicit ModuleScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr) in ModuleScope()
847 explicit TSModuleScope(ArenaAllocator *allocator, Scope *parent, ExportBindings *exportBindings) in TSModuleScope()
909 …explicit TSEnumScope(ArenaAllocator *allocator, Scope *parent, VariableMap *enumMemberBindings) : … in TSEnumScope()
961 bool VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddVar()
989 bool VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddFunction()
1026 bool VariableScope::AddClass(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddClass()
1047 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVaria… in AddTSBinding()
1057 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, Decl *newDecl, VariableFlags flags) in AddTSBinding()
1084 bool VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl) in AddLexical()
1097 T *Scope::NewDecl(ArenaAllocator *allocator, Args &&... args) in NewDecl()
1106 VariableType *Scope::AddDecl(ArenaAllocator *allocator, util::StringView name, VariableFlags flags) in AddDecl()
1122 VariableType *Scope::CreateVar(ArenaAllocator *allocator, util::StringView name, VariableFlags flag… in CreateVar()
1132 void Scope::PropagateBinding(ArenaAllocator *allocator, util::StringView name, Args &&... args) in PropagateBinding()