Home
last modified time | relevance | path

Searched refs:ancestor (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DreturnStatement.cpp68 const ir::AstNode *ancestor = checker::Checker::FindAncestorGivenByType(this, ir::AstNodeType::SCRIPT_FUNCTION); in Check() local
69 CHECK_NOT_NULL(ancestor); in Check()
70 ASSERT(ancestor && ancestor->IsScriptFunction()); in Check()
71 const ir::ScriptFunction *containingFunc = ancestor->AsScriptFunction(); in Check()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSAnalyzer.cpp1221 ir::AstNode *ancestor = util::Helpers::FindAncestorGivenByType(st, ir::AstNodeType::SCRIPT_FUNCTION); in Check() local
1222 ASSERT(ancestor && ancestor->IsScriptFunction()); in Check()
1223 auto *containingFunc = ancestor->AsScriptFunction(); in Check()
H A DETSAnalyzer.cpp2328 ir::AstNode *ancestor = util::Helpers::FindAncestorGivenByType(st, ir::AstNodeType::SCRIPT_FUNCTION); in Check() local
2329 ASSERT(ancestor && ancestor->IsScriptFunction()); in Check()
2330 auto *containingFunc = ancestor->AsScriptFunction(); in Check()

Completed in 9 milliseconds