• Home
  • Raw
  • Download

Lines Matching full:varbinder

22 #include "varbinder/tsBinding.h"
23 #include "varbinder/ETSBinder.h"
122 varbinder::Scope *GetScope() in GetScope()
124 return VarBinder()->GetScope(); in GetScope()
147 [[nodiscard]] varbinder::VarBinder *VarBinder() const in VarBinder() function
149 return program_->VarBinder(); in VarBinder()
156 varbinder::FunctionParamScope *HandleFunctionSig(ir::TSTypeParameterDeclaration *typeParams,
163 void HandleBlockStmt(ir::BlockStatement *block, varbinder::Scope *scope);
166 …void HandleFor(varbinder::LoopDeclarationScope *declScope, varbinder::LoopScope *loopScope, ForT *… in HandleFor()
174 virtual varbinder::Decl *BindClassName(ir::ClassDefinition *classDef);
185 …static void BindFunctionScopes(varbinder::FunctionScope *scope, varbinder::FunctionParamScope *par…
189 …std::tuple<varbinder::Decl *, varbinder::Variable *> AddOrGetVarDecl(ir::VariableDeclaratorFlag fl…
193 … BindVarDecl([[maybe_unused]] ir::Identifier *binding, ir::Expression *init, varbinder::Decl *decl,
194 [[maybe_unused]] varbinder::Variable *var);
273 * @param varbinder ref to VarBinder. All varbinder scopes should be set to current context.
274 …* Note: It's programmer responsibility to prepare VarBinder (remove previous names, set current sc…
295 * set varbinder to previous `function_scope` and call RunExternalNode(node, varbinder).
306 static void RunExternalNode(ir::AstNode *node, varbinder::VarBinder *varbinder);
308 * Same as previous, just uses varbinder from ctx->VarBinder()
332 varbinder::Decl *BindClassName([[maybe_unused]] ir::ClassDefinition *identNode) override in BindClassName()
337 void BindVarDecl(ir::Identifier *binding, ir::Expression *init, varbinder::Decl *decl,
338 varbinder::Variable *var) override;
340 …void MaybeAddOverload(ir::MethodDefinition *method, ir::Identifier *methodName, varbinder::Variabl…
341 varbinder::ClassScope *clsScope, varbinder::LocalScope *targetScope);