Searched refs:chain_ (Results 1 – 3 of 3) sorted by relevance
138 : chain_(snapshot.chain) { in ScopedSnapshotRestorer()139 saved_ = chain_->current_scopes_; in ScopedSnapshotRestorer()140 chain_->current_scopes_ = snapshot.current_scopes; in ScopedSnapshotRestorer()142 ~ScopedSnapshotRestorer() { chain_->current_scopes_ = saved_; } in ~ScopedSnapshotRestorer()145 ScopeChain* chain_;
28 Declarable* TryLookup(const std::string& name) { return chain_.Lookup(name); } in TryLookup()41 Declarable* d = chain_.LookupGlobalScope(name); in LookupGlobalScope()113 ScopeChain::Snapshot GetScopeChainSnapshot() { return chain_.TaskSnapshot(); } in GetScopeChainSnapshot()116 return chain_.GetLiveVariables(); in GetLiveVariables()123 void PrintScopeChain() { chain_.Print(); } in PrintScopeChain()148 chain_.Declare(name, RegisterDeclarable(std::move(d))); in Declare()156 ScopeChain chain_; variable
16 Scope* result = chain_.NewScope(); in GetModuleScope()30 Scope* result = chain_.NewScope(); in GetNodeScope()41 Scope* result = chain_.NewScope(); in GetGenericScope()47 return chain_.ShallowLookup(name) != nullptr; in IsDeclaredInCurrentScope()245 auto previous = chain_.Lookup(name); in GetMacroListForName()348 auto previous = chain_.Lookup(name); in DeclareGeneric()