Lines Matching refs:scope
23 Variable(Scope* scope, const AstRawString* name, VariableMode mode,
27 : scope_(scope),
52 // in an outer scope about which we don't know anything (it may not
53 // be the script scope). scope() is nullptr in that case. Currently the
54 // scope is only used to follow the context chain length.
55 Scope* scope() const { return scope_; }
57 // This is for adjusting the scope of temporaries used when desugaring
59 void set_scope(Scope* scope) { scope_ = scope; }
128 // True for 'let' and 'const' variables declared in the script scope of a REPL
143 // declaration time. Only returns valid results after scope analysis.
152 // scope analysis.
166 // Called during scope analysis when a VariableProxy is found to
246 // Rewrites the VariableLocation of repl script scope 'lets' to REPL_GLOBAL.
257 // blocks or sloppy 'eval' calls between the reference scope (inclusive) and
258 // the binding scope (exclusive).