Home
last modified time | relevance | path

Searched refs:funcVar (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/expressions/
DfunctionExpression.cpp44 binder::Variable *funcVar = nullptr; in Check() local
48funcVar = func_->Parent()->Parent()->AsVariableDeclarator()->Id()->AsIdentifier()->Variable(); in Check()
60 if (funcVar && !funcVar->TsType()) { in Check()
61 funcVar->SetTsType(funcType); in Check()
DarrowFunctionExpression.cpp44 binder::Variable *funcVar = nullptr; in Check() local
48funcVar = func_->Parent()->Parent()->AsVariableDeclarator()->Id()->AsIdentifier()->Variable(); in Check()
60 if (funcVar && !funcVar->TsType()) { in Check()
61 funcVar->SetTsType(funcType); in Check()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dfunction.cpp544 … Checker::InferFunctionDeclarationType(const binder::FunctionDecl *decl, binder::Variable *funcVar) in InferFunctionDeclarationType() argument
603 funcType->SetVariable(funcVar); in InferFunctionDeclarationType()
604 funcVar->SetTsType(funcType); in InferFunctionDeclarationType()
611 funcType->SetVariable(funcVar); in InferFunctionDeclarationType()
612 funcVar->SetTsType(funcType); in InferFunctionDeclarationType()
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.h427 void InferFunctionDeclarationType(const binder::FunctionDecl *decl, binder::Variable *funcVar);