Package | Description |
---|---|
com.asakusafw.utils.java.internal.parser.javadoc.ir |
Internal representation of Java documentation comments.
|
com.asakusafw.utils.java.parser.javadoc |
Parses Java documentation comments and converts them to Java DOMs.
|
Modifier and Type | Method and Description |
---|---|
JavadocTokenKind |
JavadocToken.getKind()
Returns the token kind.
|
static JavadocTokenKind |
JavadocTokenKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavadocTokenKind[] |
JavadocTokenKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
JavadocToken(JavadocTokenKind kind,
String text,
int start)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
static Set<JavadocTokenKind> |
JavadocBlockParserUtil.S_WHITE
The white-space token kinds.
|
Modifier and Type | Method and Description |
---|---|
static int |
JavadocScannerUtil.countUntil(Collection<JavadocTokenKind> kinds,
JavadocScanner scanner,
int start)
Returns the number of tokens from the starting index until each token has the specified kind.
|
static int |
JavadocScannerUtil.countWhile(Collection<JavadocTokenKind> kinds,
JavadocScanner scanner,
int start)
Returns the number of tokens from the starting index while each token has the specified kind.
|
static IrDocBasicType |
JavadocBlockParserUtil.fetchBasicType(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded basic type.
|
static IrDocField |
JavadocBlockParserUtil.fetchField(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded field.
|
static IrDocFragment |
JavadocBlockParserUtil.fetchLinkTarget(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded link target.
|
static IrDocMethod |
JavadocBlockParserUtil.fetchMethod(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded method or constructor.
|
static IrDocName |
JavadocBlockParserUtil.fetchName(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded (simple or qualified) name.
|
static IrDocNamedType |
JavadocBlockParserUtil.fetchNamedType(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded named type.
|
static IrDocBasicType |
JavadocBlockParserUtil.fetchPrimitiveType(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded primitive type.
|
static IrDocSimpleName |
JavadocBlockParserUtil.fetchSimpleName(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded simple name.
|
static IrDocType |
JavadocBlockParserUtil.fetchType(JavadocScanner scanner,
Set<JavadocTokenKind> follow)
Consumes tokens from the scanner and returns the corresponded type.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.