Implementations should subclass AbstractBlockParser instead of implementing this directly.
| Modifier and Type | Method and Description |
|---|---|
| public void | addLine(SourceLine line)
Add the part of a line that belongs to this block parser to parse (i.e. without any container block markers). |
| public void | |
| public boolean | |
| public boolean | |
| public void | |
| public Block | |
| public boolean | isContainer()
Return true if the block that is parsed is a container (contains other blocks), or false if it's a leaf. |
| public void | |
| public BlockContinue |
| addLine | back to summary |
|---|---|
| public void addLine(SourceLine line) 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) Add a source span of the currently parsed block. The default implementation in
| |
| canContain | back to summary |
|---|---|
| public boolean canContain(Block childBlock) | |
| canHaveLazyContinuationLines | back to summary |
|---|---|
| public boolean canHaveLazyContinuationLines() 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() | |
| getBlock | back to summary |
|---|---|
| public Block getBlock() | |
| isContainer | back to summary |
|---|---|
| public boolean isContainer() 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) | |
| tryContinue | back to summary |
|---|---|
| public BlockContinue tryContinue(ParserState parserState) | |