Lines Matching refs:childNode
623 parent->Iterate([this, returnTypes](ir::AstNode *childNode) -> void {
624 if (childNode->IsScriptFunction()) {
628 if (childNode->IsReturnStatement()) {
629 ir::ReturnStatement *returnStmt = childNode->AsReturnStatement();
636 GetBaseTypeOfLiteralType(CheckTypeCached(childNode->AsReturnStatement()->Argument())));
639 CollectTypesFromReturnStatements(childNode, returnTypes);
647 parent->Iterate([&found](ir::AstNode *childNode) -> void {
648 if (childNode->IsThrowStatement() || childNode->IsReturnStatement()) {
653 if (childNode->IsScriptFunction()) {
657 SearchForReturnOrThrow(childNode);