public class FollowsReferenceBlockParser extends AcceptableJavadocBlockParser
JavadocBaseParser
which parses blocks that tag follows a reference.Constructor and Description |
---|
FollowsReferenceBlockParser(String... tagNames)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
IrDocBlock |
parse(String tag,
JavadocScanner scanner)
Parses a block.
|
canAccept
fetchBasicType, fetchField, fetchLinkTarget, fetchMethod, fetchName, fetchNamedType, fetchPrimitiveType, fetchRestFragments, fetchSimpleName, fetchType, newBlock
getBlockParsers, parseBlock, setBlockParsers
public FollowsReferenceBlockParser(String... tagNames)
tagNames
- the acceptable tag namespublic IrDocBlock parse(String tag, JavadocScanner scanner) throws JavadocParseException
JavadocBlockParser
parse
in class JavadocBlockParser
tag
- the target tag name (without "@"
), or null
for synopsis blocksscanner
- the scanner for providing block contentsJavadocParseException
- if error occurred while parsing the target blockCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.