public interface CommentListener
Modifier and Type | Method and Description |
---|---|
void |
reportBlockComment(String type,
int startLineNo,
int startColNo,
int endLineNo,
int endColNo)
Report the location of a block comment that can span multiple lines.
|
void |
reportSingleLineComment(String type,
int startLineNo,
int startColNo)
Report the location of a single line comment that extends from the
given point to the end of the line.
|
void reportSingleLineComment(String type, int startLineNo, int startColNo)
type
- an identifier for what type of comment it is.startLineNo
- the starting line numberstartColNo
- the starting column numbervoid reportBlockComment(String type, int startLineNo, int startColNo, int endLineNo, int endColNo)
type
- an identifier for what type of comment it is.startLineNo
- the starting line numberstartColNo
- the starting column numberendLineNo
- the ending line numberendColNo
- the ending column numberCopyright © 2001–2018. All rights reserved.