Lines Matching defs:scope
16 #include "scope.h"
96 void Scope::CalculateLevelInCorrespondingFunctionScope(const FunctionParamScope *scope, uint32_t &lexLevel,
99 auto *funcVariableScope = scope->GetFunctionScope();
100 // we may only have function param scope without function scope in TS here
121 // If the first scope is functionParamScope, it means its corresponding functionScope is not
195 // sendable class does not need a lexical env, handle it's scope as a non-variable scope
429 auto [scope, shadowed] = IterateShadowedVariables(
437 if (scope->IsGlobalScope()) {
438 scope->Bindings().insert({newDecl->Name(), allocator->New<GlobalVariable>(newDecl, varFlags)});
440 scope->PropagateBinding<LocalVariable>(allocator, newDecl->Name(), newDecl, varFlags);
543 // Get scope name from parent in case the functionScope_ is nullptr
767 auto [scope, shadowed] = IterateShadowedVariables(