Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | addLine(SourceLine line)
Overrides jdk. Implements jdk. Add the part of a line that belongs to this block parser to parse (i.e. without any container block markers). |
public boolean | |
public Document | |
public boolean | isContainer()
Overrides jdk. Implements jdk. Return true if the block that is parsed is a container (contains other blocks), or false if it's a leaf. |
public BlockContinue |
document | back to summary |
---|---|
private final Document document |
DocumentBlockParser | back to summary |
---|---|
public DocumentBlockParser() |
addLine | back to summary |
---|---|
public void addLine(SourceLine line) Overrides jdk. Implements jdk. Doc from jdk. Add the part of a line that belongs to this block parser to parse (i.e. without any container block markers).
Note that the line will only include a
|
canContain | back to summary |
---|---|
public boolean canContain(Block block) Overrides jdk. Implements jdk.
|
getBlock | back to summary |
---|---|
public Document getBlock() Implements jdk.
|
isContainer | back to summary |
---|---|
public boolean isContainer() Overrides jdk. Implements jdk. Doc from jdk. Return true if the block that is parsed is a container (contains other blocks), or false if it's a leaf.
|
tryContinue | back to summary |
---|---|
public BlockContinue tryContinue(ParserState state) Implements jdk.
|