Package | Description |
---|---|
com.asakusafw.utils.java.parser.javadoc |
Parses Java documentation comments and converts them to Java DOMs.
|
Modifier and Type | Method and Description |
---|---|
JavadocToken |
DefaultJavadocTokenStream.lookahead(int k) |
JavadocToken |
JavadocTokenStream.lookahead(int offset)
Looks ahead the token after the offset.
|
JavadocToken |
JavadocScanner.lookahead(int offset)
Looks ahead the token after the offset.
|
JavadocToken |
DefaultJavadocScanner.lookahead(int offset) |
JavadocToken |
DefaultJavadocTokenStream.nextToken() |
JavadocToken |
JavadocTokenStream.nextToken()
Consumes the next token and returns it.
|
JavadocToken |
JavadocScanner.nextToken()
Consumes the next token and returns it.
|
JavadocToken |
DefaultJavadocScanner.nextToken() |
JavadocToken |
DefaultJavadocTokenStream.peek() |
JavadocToken |
JavadocTokenStream.peek()
Returns the next token.
|
Modifier and Type | Method and Description |
---|---|
List<JavadocToken> |
JavadocScanner.getTokens()
Returns the tokens.
|
List<JavadocToken> |
DefaultJavadocScanner.getTokens() |
static List<JavadocToken> |
JavadocScannerUtil.lookaheadTokens(JavadocScanner scanner,
int start,
int count)
Returns the a sequence of tokens.
|
Modifier and Type | Method and Description |
---|---|
static <T extends IrDocElement> |
JavadocBlockParserUtil.setLocation(T elem,
JavadocToken start,
JavadocToken stop)
Sets the location information for the target element.
|
Modifier and Type | Method and Description |
---|---|
static String |
JavadocBlockParserUtil.buildString(List<? extends JavadocToken> tokens)
Concatenates the token images.
|
Constructor and Description |
---|
DefaultJavadocScanner(List<JavadocToken> tokens,
int successorStartsAt)
Creates a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.