Fix rename
This commit is contained in:
@ -561,7 +561,7 @@ PARSER_END(JavaParserImpl)
|
||||
|
||||
TOKEN_MGR_DECLS :
|
||||
{
|
||||
protected List<Comment> comments = new ArrayList<Comment>();
|
||||
protected List<JavaComment> comments = new ArrayList<JavaComment>();
|
||||
}
|
||||
|
||||
/* WHITE SPACE */
|
||||
@ -587,7 +587,7 @@ SPECIAL_TOKEN :
|
||||
if (startOfNOPMD != -1) {
|
||||
suppressMap.put(matchedToken.getBeginLine(), matchedToken.getImage().substring(startOfNOPMD + suppressMarker.length()));
|
||||
}
|
||||
comments.add(new Comment(matchedToken));
|
||||
comments.add(new JavaComment(matchedToken));
|
||||
}
|
||||
}
|
||||
|
||||
@ -608,7 +608,7 @@ SPECIAL_TOKEN :
|
||||
<IN_MULTI_LINE_COMMENT>
|
||||
SPECIAL_TOKEN :
|
||||
{
|
||||
<MULTI_LINE_COMMENT: "*/" > { comments.add(new Comment(matchedToken)); } : DEFAULT
|
||||
<MULTI_LINE_COMMENT: "*/" > { comments.add(new JavaComment(matchedToken)); } : DEFAULT
|
||||
}
|
||||
|
||||
<IN_FORMAL_COMMENT,IN_MULTI_LINE_COMMENT>
|
||||
@ -2612,14 +2612,14 @@ void AssertStatement() :
|
||||
void RUNSIGNEDSHIFT() #void:
|
||||
{}
|
||||
{
|
||||
LOOKAHEAD({ JavaTokenDocument.getRealKind(getToken(1)) == RUNSIGNEDSHIFT})
|
||||
LOOKAHEAD({ JavaTokenDocumentBehavior.getRealKind(getToken(1)) == RUNSIGNEDSHIFT})
|
||||
">" ">" ">"
|
||||
}
|
||||
|
||||
void RSIGNEDSHIFT() #void:
|
||||
{}
|
||||
{
|
||||
LOOKAHEAD({ JavaTokenDocument.getRealKind(getToken(1)) == RSIGNEDSHIFT})
|
||||
LOOKAHEAD({ JavaTokenDocumentBehavior.getRealKind(getToken(1)) == RSIGNEDSHIFT})
|
||||
">" ">"
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ public class JavaTokenizer extends JavaCCTokenizer {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JavaccTokenDocument.TokenDocumentBehavior tokenBehavior() throws IOException {
|
||||
protected JavaccTokenDocument.TokenDocumentBehavior tokenBehavior() {
|
||||
return InternalApiBridge.javaTokenDoc();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user