public abstract class JavadocBaseParser extends Object
Constructor and Description |
---|
JavadocBaseParser(List<? extends JavadocBlockParser> blockParsers)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<? extends JavadocBlockParser> |
getBlockParsers()
Returns the block parsers.
|
IrDocBlock |
parseBlock(JavadocBlockInfo block)
Parses the target block and returns the block information.
|
void |
setBlockParsers(List<? extends JavadocBlockParser> blockParsers)
Sets the block parsers.
|
public JavadocBaseParser(List<? extends JavadocBlockParser> blockParsers)
blockParsers
- the block parserspublic final List<? extends JavadocBlockParser> getBlockParsers()
public final void setBlockParsers(List<? extends JavadocBlockParser> blockParsers)
blockParsers
- the block parsersIllegalArgumentException
- if the parameter is null
public IrDocBlock parseBlock(JavadocBlockInfo block) throws JavadocParseException
block
- the target blockJavadocParseException
- if error was occurred while analyzing the target blockIllegalArgumentException
- if the parameter is null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.