Lines Matching refs:FunctionScope
225 FunctionScope *AsFunctionVariableScope()
228 return reinterpret_cast<FunctionScope *>(this);
231 const FunctionScope *AsFunctionVariableScope() const
234 return reinterpret_cast<const FunctionScope *>(this);
251 FunctionScope *EnclosingFunctionVariableScope();
660 class FunctionScope;
666 FunctionScope *GetFunctionScope() const
671 void BindFunctionScope(FunctionScope *funcScope)
700 friend class FunctionScope;
705 FunctionScope *functionScope_ {};
754 class FunctionScope : public ScopeWithParamScope<VariableScope, FunctionParamScope> {
756 explicit FunctionScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, parent) {}
1010 class GlobalScope : public FunctionScope {
1012 explicit GlobalScope(ArenaAllocator *allocator) : FunctionScope(allocator, nullptr)
1042 class ModuleScope : public FunctionScope {
1044 explicit ModuleScope(ArenaAllocator *allocator, parser::Program *program) : FunctionScope(allocator, nullptr)
1087 class TSModuleScope : public FunctionScope {
1090 : FunctionScope(allocator, nullptr), exportBindings_(exportBindings), variableNames_(allocator->Adapter())
1155 class TSEnumScope : public FunctionScope {
1157 explicit TSEnumScope(ArenaAllocator *allocator, Scope *parent, VariableMap *enumMemberBindings) : FunctionScope(