Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | addLine(SourceLine line)
Implements jdk. Add the part of a line that belongs to this block parser to parse (i.e. without any container block markers). |
public void | addSourceSpan(SourceSpan sourceSpan)
Implements jdk. Add a source span of the currently parsed block. |
public boolean | canContain(Block childBlock)
Implements jdk.
|
public boolean | canHaveLazyContinuationLines()
Implements jdk. Return true if the block can have lazy continuation lines. |
public void | |
public boolean | isContainer()
Implements jdk. Return true if the block that is parsed is a container (contains other blocks), or false if it's a leaf. |
public void | parseInlines(InlineParser inlineParser)
Implements jdk.
|
AbstractBlockParser | back to summary |
---|---|
public AbstractBlockParser() |
addLine | back to summary |
---|---|
public void addLine(SourceLine line) 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
|
addSourceSpan | back to summary |
---|---|
public void addSourceSpan(SourceSpan sourceSpan) Implements jdk. Doc from jdk. Add a source span of the currently parsed block. The default implementation in
|
canContain | back to summary |
---|---|
public boolean canContain(Block childBlock) Implements jdk.
|
canHaveLazyContinuationLines | back to summary |
---|---|
public boolean canHaveLazyContinuationLines() Implements jdk. Doc from jdk. Return true if the block can have lazy continuation lines.
Lazy continuation lines are lines that were rejected by this
If true is returned here, those lines will get added via
|
closeBlock | back to summary |
---|---|
public void closeBlock() Implements jdk.
|
isContainer | back to summary |
---|---|
public boolean isContainer() 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.
|
parseInlines | back to summary |
---|---|
public void parseInlines(InlineParser inlineParser) Implements jdk.
|