The block processor.
public class BlockProcessor
kind:method, kind:property, kind:ctor. Press Esc to clear.BlockProcessor(MarkdownDocument, BlockParserList, MarkdownParserContext?, Boolean)Initializes a new instance of the BlockProcessor class.LineThe current line being processed.ColumnGets or sets the column.ColumnBeforeIndentGets the column position before the indent occurred.ContextGets the parser context or null if none is available.CurrentBlockGets the last block that is opened.CurrentCharGets the current character being processed.CurrentContainerGets the current active container.CurrentLineStartPositionGets or sets the current line start position.DocumentGets the root document.IndentGets the current indent position (number of columns between the previous indent and the current position).IsBlankLineGets a value indicating whether the line is blank (valid only after ParseIndent() has been called).IsCodeIndentGets a value indicating whether a code indentation is at the beginning of the line being processed.IsLazyGets a boolean indicating whether the current line being parsed is lazy continuation.LastBlockGets the last block that is created.LineIndexGets the index of the line in the source text.LinesBeforeGets or sets the stack of empty lines not yet assigned to any Block. An entry may contain an empty StringSlice. In that case the NewLine is relevant. Otherwise, the StringSlice entry will contain trivia.NewBlocksGets the new blocks to push. A BlockParser is required to push new blocks that it creates to this property.NextContinueGets the next block in a TryContinue(BlockProcessor, Block).ParsersGets the list of BlockParsers configured with this parser state.SkipFirstUnwindSpaceGets or sets the skip first unwind space.StartGets the position of the current character in the line being processed.StartBeforeIndentGets the character position before the indent occurred.TrackTriviaTrue to parse trivia such as whitespace, extra heading characters and unescaped string values.TriviaStartGets or sets the position of the first character trivia is encountered and not yet assigned to a syntax node. Trivia: only used when TrackTrivia is enabled, otherwise 0.Close(Block)Force closing the specified block.CreateChild()Performs the create child operation.Discard(Block)Discards the specified block from the stack, remove from its parent.GetCurrentContainerOpened()Get the current Container that is currently openedGoToCodeIndent(Int32)Moves to the position to the code indent (ColumnBeforeIndent + 4 spaces).GoToColumn(Int32)Moves to the position to the specified column position, taking into account spaces in tabs.IsOpen(Block)Checks whether the specified block is currently part of the open block stack.NextChar()Returns the next character in the line being processed. Update Start and Column.NextColumn()Returns the next character in the line taking into space taken by tabs. Update Start and Column.Open(Block)Opens the specified block.ParseIndent()Parses the indentation from the current position in the line, updating StartBeforeIndent, ColumnBeforeIndent, Start and Column accordingly taking into account space taken by tabs.PeekChar(Int32)Peeks a character at the specified offset from the current position in the line.ProcessLine(StringSlice)Processes a new line.ProcessLinePart(StringSlice, Int32)Processes part of a line.ReleaseChild()Performs the release child operation.RestartIndent()Restarts the indent from the current position.TakeLinesBefore()Takes the current stack of LinesBefore to assign it to a Block. Afterwards, LinesBefore is set to null.TryDiscard(Block)Tries to discard the specified block from the open stack and remove it from its parent.UnwindAllIndents()Unwind any previous indent from the current character back to the first space.UseTrivia(Int32)Returns trivia that has not yet been assigned to any node and advances the position of trivia to the ending position.