Lines Matching full:varbinder
22 #include "varbinder/ETSBinder.h"
53 explicit SafeStateScope(checker::ETSChecker *checker, varbinder::ETSBinder *varBinder);
65 varbinder::ETSBinder *varBinder_ {nullptr};
66 varbinder::Scope *checkerScope_ {nullptr};
67 varbinder::GlobalScope *binderTopScope_ {nullptr};
68 varbinder::VariableScope *binderVarScope_ {nullptr};
69 varbinder::Scope *binderScope_ {nullptr};
71 varbinder::RecordTable *recordTable_ {nullptr};
131 void DoScopedAction(checker::ETSChecker *checker, varbinder::ETSBinder *varBinder, parser::Program … in DoScopedAction() argument
132 varbinder::Scope *scope, ir::AstNode *parentClass, F &&action) in DoScopedAction()
135 ES2PANDA_ASSERT(varBinder); in DoScopedAction()
139 SafeStateScope s(checker, varBinder); in DoScopedAction()
141 auto runInScope = [checker, varBinder, scope, parentClass](auto &&f) { in DoScopedAction()
142 RecordTableClassScope recordTableScope(varBinder, parentClass); in DoScopedAction()
144 auto lexScope = varbinder::LexicalScope<varbinder::Scope>::Enter(varBinder, scope); in DoScopedAction()
152 if (program != nullptr && program != varBinder->Program()) { in DoScopedAction()
153 // Save checker scope because it can differ from VarBinder's scope. in DoScopedAction()
156 ProgramScope rcScope(varBinder, program); in DoScopedAction()
157 checker->Initialize(varBinder); in DoScopedAction()
162 checker->Initialize(varBinder); in DoScopedAction()