public static String stringToDocComment ( String doc ) { boolean emptyDoc = ( doc == null || doc . trim ( ) . isEmpty ( ) ) ; if ( emptyDoc ) return "" ; return DocEscaping . stringToDocComment ( doc , DocCommentStyle . NO_MARGIN ) ; }
Returns a doc comment as a string of Swift source for the given documentation string .