Lines Matching refs:LexicalScope
104 friend class LexicalScope;
248 class LexicalScope {
251 explicit LexicalScope(Binder *binder, Args &&... args)
252 : LexicalScope(binder->Allocator()->New<T>(binder->Allocator(), binder->scope_, std::forward<Args>(args)...),
262 ~LexicalScope()
268 [[nodiscard]] static LexicalScope<T> Enter(Binder *binder, T *scope)
270 LexicalScope<T> lexScope(scope, binder);
274 DEFAULT_MOVE_SEMANTIC(LexicalScope);
277 NO_COPY_SEMANTIC(LexicalScope);
279 explicit LexicalScope(T *scope, Binder *binder) : binder_(binder), scope_(scope), prevScope_(binder->scope_)