find the first child with a specific type concode_field_sep TokenSet STRING_LITERALS concode_field_sep String getStringValueFromExpression concode_elem_sep boolean testType concode_elem_sep PsiElement findAncestorWithType concode_elem_sep boolean hasElementType concode_elem_sep boolean hasElementType concode_elem_sep boolean hasElementType concode_elem_sep boolean hasElementType
PsiElement function ( PsiElement arg0 , IElementType arg1 ) { PsiElement [ ] loc0 = arg0 . getChildren ( ) ; for ( PsiElement loc1 : loc0 ) { if ( loc1 . getNode ( ) . getElementType ( ) == arg1 ) { return loc1 ; } } return null ; }