BlockState Enum

Defines the result of parsing a line for a BlockParser.

public enum BlockState

Fields

NameValueDescription
None0The parser does not accept the line for this block. No line content is consumed by this result.
Skip1Skips this parser for the current line and continues with the next parser/candidate block.
Continue2The parser accepts the line and keeps the block open. For leaf blocks, the current line is appended to the block.
ContinueDiscard3The parser accepts the line and keeps the block open, but the line is consumed and not appended.
Break4The parser ends the block and keeps the current line available for further parsing.
BreakDiscard5The parser ends the block and consumes the current line.