Home
last modified time | relevance | path

Searched refs:IsScriptFunction (Results 1 – 21 of 21) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DpromiseVoid.cpp165 if (!(ast->IsScriptFunction() && ast->AsScriptFunction()->IsAsyncFunc())) { in Perform()
216 if (!(ast->IsScriptFunction() && ast->AsScriptFunction()->IsAsyncFunc())) { in Postcondition()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DreturnStatement.cpp69 ASSERT(ancestor && ancestor->IsScriptFunction()); in Check()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dfunction_helpers.h255 if (ast->IsScriptFunction()) { in NodeScope()
Dhelpers.cpp679 …(var->GetScope()->Node()->IsScriptFunction() && var->GetScope()->Node()->AsScriptFunction()->IsArr… in SaveCapturedVariable()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dfunction.cpp625 ASSERT(iter->Node() && iter->Node()->IsScriptFunction()); in InferFunctionDeclarationType()
635 if (childNode->IsScriptFunction()) { in CollectTypesFromReturnStatements()
664 if (childNode->IsScriptFunction()) { in SearchForReturnOrThrow()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DcodeGen.cpp140 ASSERT(rootNode_->IsScriptFunction()); in FormalParametersCount()
/arkcompiler/ets_frontend/ets2panda/compiler/function/
DfunctionBuilder.cpp45 if (!rootNode->IsScriptFunction() || !rootNode->AsScriptFunction()->IsConstructor()) { in ImplicitReturn()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
Dfunction.cpp616 if (childNode->IsScriptFunction()) { in CollectTypesFromReturnStatements()
645 if (childNode->IsScriptFunction()) { in SearchForReturnOrThrow()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp171 while (astNode != nullptr && !astNode->IsScriptFunction()) { in UpdateForReturnIns()
172 …(astNode->IsBlockStatement() && astNode->AsBlockStatement()->Scope()->Node()->IsScriptFunction()) { in UpdateForReturnIns()
/arkcompiler/ets_frontend/es2panda/compiler/function/
DfunctionBuilder.cpp48 if (!rootNode->IsScriptFunction() || !rootNode->AsScriptFunction()->IsConstructor()) { in ImplicitReturn()
/arkcompiler/ets_frontend/ets2panda/util/
Dhelpers.cpp356 if (parent->IsScriptFunction()) { in GetContainingFunction()
/arkcompiler/ets_frontend/ets2panda/public/
Des2panda_lib.h353 bool (*IsScriptFunction)(es2panda_AstNode *ast); member
Des2panda_lib.cpp2587 IsScriptFunction,
/arkcompiler/ets_frontend/ets2panda/varbinder/
Dvarbinder.cpp198 if (!node->IsScriptFunction()) { in InstantiateArguments()
DETSBinder.cpp182 if ((!outerFunction->IsScriptFunction() || !outerFunction->AsScriptFunction()->IsArrow()) && in LookupIdentReference()
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp355 if (parent->IsScriptFunction()) { in GetContainingFunction()
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp271 if (!node->IsScriptFunction()) { in InstantiateArguments()
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.cpp146 ASSERT(rootNode_->IsScriptFunction()); in FormalParametersCount()
267 if (node->IsScriptFunction()) { in CopyFunctionArguments()
/arkcompiler/ets_frontend/ets2panda/checker/
DTSAnalyzer.cpp1407 ASSERT(ancestor && ancestor->IsScriptFunction()); in Check()
DETSAnalyzer.cpp2306 ASSERT(ancestor && ancestor->IsScriptFunction()); in Check()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp120 ASSERT(node->IsScriptFunction()); in AddVariableToNearestStatements()