Lines Matching refs:Variable

118 Variable *Scope::FindLocal(const util::StringView &name, ResolveBindingOptions options) const
142 Scope::InsertResult Scope::InsertBinding(const util::StringView &name, Variable *const var)
153 Scope::InsertResult Scope::TryInsertBinding(const util::StringView &name, Variable *const var)
255 Variable *Scope::AddLocalVar(ArenaAllocator *allocator, Decl *newDecl)
258 IterateShadowedVariables(newDecl->Name(), [](const Variable *v) { return !v->HasFlag(VariableFlags::VAR); });
272 Variable *Scope::AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
311 newDecl->Name(), [](const Variable *v) { return v->HasFlag(VariableFlags::LEXICAL_VAR); });
354 std::vector<varbinder::Variable *> bindings(LexicalSlots());
382 Variable *ParamScope::AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, VariableFlags flags)
398 std::tuple<ParameterDecl *, ir::AstNode *, Variable *> ParamScope::AddParamDecl(ArenaAllocator *allocator,
441 Variable *FunctionParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator,
442 [[maybe_unused]] Variable *currentVariable, [[maybe_unused]] Decl *newDecl,
448 Variable *FunctionScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
452 Variable *var {};
497 Variable *GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
522 Scope::InsertResult GlobalScope::InsertBinding(const util::StringView &name, Variable *const var)
527 Scope::InsertResult GlobalScope::TryInsertBinding(const util::StringView &name, Variable *const var)
554 Scope::InsertResult GlobalScope::InsertForeignBinding(const util::StringView &name, Variable *const var)
559 Scope::InsertResult GlobalScope::InsertImpl(const util::StringView &name, Variable *const var, const bool isForeign,
588 Scope::InsertResult GlobalScope::InsertDynamicBinding(const util::StringView &name, Variable *const var)
595 Variable *ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
654 Variable *ModuleScope::AddImport(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl)
700 varbinder::Variable *variable = FindLocal(decl->LocalName(), varbinder::ResolveBindingOptions::BINDINGS);
721 Variable *FunctionScope::FindLocal(const util::StringView &name, ResolveBindingOptions options) const
758 Variable *LocalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
764 Variable *LocalScopeWithTypeAlias::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
781 Variable *LocalScopeWithTypeAlias::FindLocal(const util::StringView &name, ResolveBindingOptions options) const
816 Variable *ClassScope::FindLocal(const util::StringView &name, ResolveBindingOptions options) const
907 Variable *ClassScope::AddBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *currentVariable, Decl *newDecl,
1011 Variable *CatchParamScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,
1017 Variable *CatchScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,