like #skipwhitespace , but this returns a string containing all comment text . by convention , comments before a declaration document that declaration . concode_field_sep char[] data concode_elem_sep int pos concode_elem_sep int line concode_elem_sep int lineStart concode_elem_sep Location location concode_field_sep String readName concode_elem_sep RuntimeException unexpected concode_elem_sep RuntimeException unexpected concode_elem_sep char peekChar concode_elem_sep boolean peekChar concode_elem_sep boolean exhausted concode_elem_sep String readString concode_elem_sep void require concode_elem_sep String readWord concode_elem_sep char readChar concode_elem_sep String tryAppendTrailingDocumentation concode_elem_sep void pushBack concode_elem_sep void newline concode_elem_sep char readNumericEscape concode_elem_sep int hexDigit concode_elem_sep String readDataType concode_elem_sep String readDataType concode_elem_sep String readComment concode_elem_sep Location location concode_elem_sep String readQuotedString concode_elem_sep int readInt concode_elem_sep void skipWhitespace
String function ( ) { String loc0 = null ; while ( true ) { skipWhitespace ( false ) ; if ( pos == data . length || data [ pos ] != '/' ) { return loc0 != null ? loc0 : "srini_string" ; } String loc1 = readComment ( ) ; loc0 = ( loc0 == null ) ? loc1 : ( loc0 + "srini_string" + loc1 ) ; } }