boolean
equals(Object o)
Iterable<Chars>
getFilteredLines()
Removes the leading comment marker (like *
) of each line of the comment as well as the start marker (//
, /*
or /**
and the end markers (*/
).
Iterable<Chars>
getFilteredLines(boolean preserveEmptyLines)
static Stream<JavaComment>
getLeadingComments(JavaNode node)
FileLocation
getReportLocation()
Chars
getText()
Returns the full text of the comment.
JavaccToken
getToken()
The token underlying this comment.
int
hashCode()
boolean
hasJavadocContent()
static boolean
isComment(JavaccToken token)
Returns true if the given token has the kind of a comment token (there are three such kinds).
static boolean
isMarkupWord(Chars word)
True if this is a comment delimiter or an asterisk.
boolean
isSingleLine()
static Chars
removeCommentMarkup(Chars line)
Trim the start of the provided line to remove a comment markup opener (//, /*, /**, *
) or closer * /
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4