Lines Matching refs:Variable

50 class Variable;
52 using VariableMap = ArenaMap<util::StringView, Variable *>;
59 bool AddTSVariable(const util::StringView &name, Variable *variable)
70 Variable *FindTSVariable(const util::StringView &name) const
112 Variable *FindExportVariable(const util::StringView &name) const
121 bool AddExportVariable(const util::StringView &name, Variable *var)
133 Variable *FindExportTSVariable(const util::StringView &name) const
139 bool AddExportTSVariable(const util::StringView &name, Variable *var)
152 ScopeFindResult(util::StringView n, Scope *s, uint32_t l, Variable *v)
156 ScopeFindResult(Scope *s, uint32_t l, uint32_t ll, Variable *v) : scope(s), level(l), lexLevel(ll), variable(v) {}
158 Variable *v, ir::ScriptFunction *c)
168 Variable *variable {};
350 virtual bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
353 Variable *FindLocal(const util::StringView &name,
371 Variable *FindLocalTSVariable(const util::StringView &name) const
377 void AddLocalTSVariable(const util::StringView &name, Variable *var)
448 using VariableVisitior = std::function<bool(const Variable *)>;
456 bool AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
595 bool AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
598 bool AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
602 bool AddClass(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
605 bool AddTSBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags);
611 bool AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl);
655 bool AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags);
688 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
791 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
846 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
881 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
951 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
966 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
981 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1000 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1022 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1064 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1104 Variable *FindExportTSVariable(const util::StringView &name) const
1110 bool AddExportTSVariable(const util::StringView &name, Variable *var)
1115 Variable *FindExportVariable(const util::StringView &name) const
1120 bool AddExportVariable(const util::StringView &name, Variable *var)
1172 Variable *FindEnumMemberVariable(const util::StringView &name) const
1191 bool AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1218 bool VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1246 bool VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1283 bool VariableScope::AddClass(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
1304 bool VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVariable, Decl *newDecl,
1341 bool VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)