Lines Matching defs:Binder
45 class Binder {
47 explicit Binder(parser::Program *program, ScriptExtension extension)
65 NO_COPY_SEMANTIC(Binder);
66 DEFAULT_MOVE_SEMANTIC(Binder);
67 ~Binder() = default;
251 explicit LexicalScope(Binder *binder, Args &&... args)
268 [[nodiscard]] static LexicalScope<T> Enter(Binder *binder, T *scope)
279 explicit LexicalScope(T *scope, Binder *binder) : binder_(binder), scope_(scope), prevScope_(binder->scope_)
284 Binder *binder_ {};
290 T *Binder::AddTsDecl(const lexer::SourcePosition &pos, bool isDeclare, Args &&... args)
307 T *Binder::AddTsDecl(const lexer::SourcePosition &pos, DeclarationFlags flag, bool isDeclare, Args &&... args)
325 T *Binder::AddDecl(const lexer::SourcePosition &pos, bool isDeclare, Args &&... args)
342 T *Binder::AddDecl(const lexer::SourcePosition &pos, DeclarationFlags flag, bool isDeclare, Args &&... args)