public final class JavadocParser extends JavadocBaseParser
Constructor and Description |
---|
JavadocParser(List<? extends JavadocBlockParser> blockParsers)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
IrDocComment |
parse(JavadocScanner scanner)
Parses the documentation comments.
|
IrDocBlock |
parseBlock(JavadocScanner scanner)
Parses a block.
|
getBlockParsers, parseBlock, setBlockParsers
public JavadocParser(List<? extends JavadocBlockParser> blockParsers)
blockParsers
- the block parsersIllegalArgumentException
- if the parameter is null
public IrDocComment parse(JavadocScanner scanner) throws JavadocParseException
scanner
- the source scannerJavadocParseException
- if the documentation comment is malformedIllegalArgumentException
- if the parameter is null
public IrDocBlock parseBlock(JavadocScanner scanner) throws JavadocParseException
scanner
- the source scannerJavadocParseException
- if the block is malformedIllegalArgumentException
- if the parameter is null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.