public interface GenericToken
Modifier and Type | Method and Description |
---|---|
int |
getBeginColumn()
Gets the column offset from the start of the begin line where the token's region begins
|
int |
getBeginLine()
Gets the line where the token's region begins
|
int |
getEndColumn()
Gets the column offset from the start of the end line where the token's region ends
|
int |
getEndLine()
Gets the line where the token's region ends
|
java.lang.String |
getImage()
Gets the token's text.
|
GenericToken |
getNext()
Obtain the next generic token according to the input stream which generated the instance of this token.
|
GenericToken |
getPreviousComment()
Obtain a comment-type token which, according to the input stream which generated the instance of this token,
precedes this instance token and succeeds the previous generic token (if there is any).
|
GenericToken getNext()
GenericToken getPreviousComment()
java.lang.String getImage()
int getBeginLine()
int getEndLine()
int getBeginColumn()
int getEndColumn()
Copyright © 2002–2018 PMD. All rights reserved.