Lines Matching defs:binder
19 #include <binder/scope.h>
20 #include <binder/variableFlags.h>
41 namespace panda::es2panda::binder {
215 void BuildForInOfLoop(const ir::Statement *parent, binder::LoopScope *loopScope, ir::AstNode *left,
251 explicit LexicalScope(Binder *binder, Args &&... args)
252 : LexicalScope(binder->Allocator()->New<T>(binder->Allocator(), binder->scope_, std::forward<Args>(args)...),
253 binder)
268 [[nodiscard]] static LexicalScope<T> Enter(Binder *binder, T *scope)
270 LexicalScope<T> lexScope(scope, binder);
279 explicit LexicalScope(T *scope, Binder *binder) : binder_(binder), scope_(scope), prevScope_(binder->scope_)
294 throw Error(ErrorType::GENERIC, "Unsuccessful allocation in adding ts decl during binder");
311 throw Error(ErrorType::GENERIC, "Unsuccessful allocation in adding ts decl during binder");
329 throw Error(ErrorType::GENERIC, "Unsuccessful allocation in adding decl during binder");
346 throw Error(ErrorType::GENERIC, "Unsuccessful allocation in adding decl during binder");
374 } // namespace panda::es2panda::binder