Home
last modified time | relevance | path

Searched refs:funcVar (Results 1 - 8 of 8) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DfunctionExpression.cpp44 binder::Variable *funcVar = nullptr; in Check() local
48 funcVar = func_->Parent()->Parent()->AsVariableDeclarator()->Id()->AsIdentifier()->Variable(); in Check()
60 if (funcVar && !funcVar->TsType()) { in Check()
61 funcVar->SetTsType(funcType); in Check()
H A DarrowFunctionExpression.cpp44 binder::Variable *funcVar = nullptr; in Check() local
48 funcVar = 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/
H A Dfunction.cpp550 void Checker::InferFunctionDeclarationType(const binder::FunctionDecl *decl, binder::Variable *funcVar) in InferFunctionDeclarationType() argument
611 funcType->SetVariable(funcVar); in InferFunctionDeclarationType()
612 funcVar->SetTsType(funcType); in InferFunctionDeclarationType()
620 funcType->SetVariable(funcVar); in InferFunctionDeclarationType()
621 funcVar->SetTsType(funcType); in InferFunctionDeclarationType()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dfunction.cpp564 void TSChecker::InferFunctionDeclarationType(const varbinder::FunctionDecl *decl, varbinder::Variable *funcVar) in InferFunctionDeclarationType() argument
604 funcType->SetVariable(funcVar); in InferFunctionDeclarationType()
605 funcVar->SetTsType(funcType); in InferFunctionDeclarationType()
612 funcType->SetVariable(funcVar); in InferFunctionDeclarationType()
613 funcVar->SetTsType(funcType); in InferFunctionDeclarationType()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSAnalyzer.cpp309 varbinder::Variable *funcVar = nullptr; in Check() local
314 funcVar = expr->Function()->Parent()->Parent()->AsVariableDeclarator()->Id()->AsIdentifier()->Variable(); in Check()
326 if (funcVar != nullptr && funcVar->TsType() == nullptr) { in Check()
327 funcVar->SetTsType(funcType); in Check()
552 varbinder::Variable *funcVar = nullptr; in Check() local
557 funcVar = expr->Function()->Parent()->Parent()->AsVariableDeclarator()->Id()->AsIdentifier()->Variable(); in Check()
569 if (funcVar != nullptr && funcVar->TsType() == nullptr) { in Check()
570 funcVar in Check()
[all...]
H A DTSchecker.h356 void InferFunctionDeclarationType(const varbinder::FunctionDecl *decl, varbinder::Variable *funcVar);
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h427 void InferFunctionDeclarationType(const binder::FunctionDecl *decl, binder::Variable *funcVar);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/
H A Dlitecg_ir_builder.cpp2813 Var &funcVar = lmirBuilder_->CreateLocalVar(callee.GetType(), "DeoptimizeSubFunc"); in GenDeoptEntry() local
2814 Stmt &funcAddrNode = lmirBuilder_->Dassign(callee, funcVar); in GenDeoptEntry()
2820 Stmt &callNode = lmirBuilder_->ICall(lmirBuilder_->Dread(funcVar), params, pregIdx); in GenDeoptEntry()

Completed in 14 milliseconds