protected Tokens . Comment processComment ( int pos , int endPos , CommentStyle style ) { if ( scannerDebug ) System . out . println ( "processComment(" + pos + "," + endPos + "," + style + ")=|" + new String ( reader . getRawCharacters ( pos , endPos ) ) + "|" ) ; char [ ] buf = reader . getRawCharacters ( pos , endPos ) ; return new BasicComment < UnicodeReader > ( new UnicodeReader ( fac , buf , buf . length ) , style ) ; }
Called when a complete comment has been scanned . pos and endPos will mark the comment boundary .