question: searches up the parent hierarchy from the given tag for a tag of the given type concode_field_sep Tag parent concode_elem_sep JellyContext context concode_elem_sep boolean hasTrimmed concode_elem_sep Script body concode_elem_sep boolean escapeText concode_elem_sep Boolean shouldTrim concode_field_sep Tag getParent concode_elem_sep boolean isTrim concode_elem_sep Script getBody concode_elem_sep void setBody concode_elem_sep void invokeBody concode_elem_sep boolean isEscapeText concode_elem_sep String getBodyText concode_elem_sep String getBodyText concode_elem_sep void setEscapeText concode_elem_sep void setTrim concode_elem_sep void setContext concode_elem_sep void setParent concode_elem_sep JellyContext getContext concode_elem_sep void trimBody
target: Tag function ( Tag arg0 , Class arg1 ) { while ( arg0 != null ) { if ( arg1 . isInstance ( arg0 ) ) { return arg0 ; } arg0 = arg0 . getParent ( ) ; } return null ; }