public interface JavadocScanner
JavadocToken.| Modifier and Type | Method and Description |
|---|---|
void |
consume(int count)
Consumes the tokens.
|
int |
getIndex()
Returns
the next token index. |
List<JavadocToken> |
getTokens()
Returns the tokens.
|
JavadocToken |
lookahead(int offset)
Looks ahead the token after the offset.
|
JavadocToken |
nextToken()
Consumes the next token and returns it.
|
void |
seek(int position)
Sets the index of the current scanner position.
|
List<JavadocToken> getTokens()
void consume(int count)
count - the number of tokens to be consumedJavadocToken nextToken()
JavadocToken lookahead(int offset)
0.offset - the token offsetint getIndex()
the next token index.void seek(int position)
position - the index which indicates the next tokenCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.