BlockState Enum
Defines the result of parsing a line for a BlockParser.
public enum BlockStateFields
| Name | Value | Description |
|---|---|---|
None | 0 | The parser does not accept the line for this block. No line content is consumed by this result. |
Skip | 1 | Skips this parser for the current line and continues with the next parser/candidate block. |
Continue | 2 | The parser accepts the line and keeps the block open. For leaf blocks, the current line is appended to the block. |
ContinueDiscard | 3 | The parser accepts the line and keeps the block open, but the line is consumed and not appended. |
Break | 4 | The parser ends the block and keeps the current line available for further parsing. |
BreakDiscard | 5 | The parser ends the block and consumes the current line. |