Lines Matching full:varbinder
22 #include "varbinder/tsBinding.h"
23 #include "varbinder/ETSBinder.h"
128 varbinder::Scope *GetScope() in GetScope()
130 return VarBinder()->GetScope(); in GetScope()
153 [[nodiscard]] varbinder::VarBinder *VarBinder() const in VarBinder() function
155 return program_->VarBinder(); in VarBinder()
162 varbinder::FunctionParamScope *HandleFunctionSig(ir::TSTypeParameterDeclaration *typeParams,
169 void HandleBlockStmt(ir::BlockStatement *block, varbinder::Scope *scope);
172 …void HandleFor(varbinder::LoopDeclarationScope *declScope, varbinder::LoopScope *loopScope, ForT *… in HandleFor()
180 virtual varbinder::Decl *BindClassName(ir::ClassDefinition *classDef);
191 …static void BindFunctionScopes(varbinder::FunctionScope *scope, varbinder::FunctionParamScope *par…
195 …std::tuple<varbinder::Decl *, varbinder::Variable *> AddOrGetVarDecl(ir::VariableDeclaratorFlag fl…
198 … BindVarDecl([[maybe_unused]] ir::Identifier *binding, ir::Expression *init, varbinder::Decl *decl,
199 [[maybe_unused]] varbinder::Variable *var);
278 * @param varbinder ref to VarBinder. All varbinder scopes should be set to current context.
279 …* Note: It's programmer responsibility to prepare VarBinder (remove previous names, set current sc…
300 * set varbinder to previous `function_scope` and call RunExternalNode(node, varbinder).
311 static void RunExternalNode(ir::AstNode *node, varbinder::VarBinder *varbinder);
313 * Same as previous, just uses varbinder from ctx->VarBinder()
337 varbinder::Decl *BindClassName([[maybe_unused]] ir::ClassDefinition *identNode) override in BindClassName()
342 void BindVarDecl(ir::Identifier *binding, ir::Expression *init, varbinder::Decl *decl,
343 varbinder::Variable *var) override;
345 …void MaybeAddOverload(ir::MethodDefinition *method, ir::Identifier *methodName, varbinder::Variabl…
346 varbinder::ClassScope *clsScope, varbinder::LocalScope *targetScope);