PipeTableParser Class

The inline parser used to transform a ParagraphBlock into a Table at inline parsing time.

public class PipeTableParser : InlineParser, IPostInlineProcessor
Inheritance
InlineParser PipeTableParser
Implements

Constructors

NameDescription
PipeTableParser(LineBreakInlineParser, PipeTableOptions?)Initializes a new instance of the PipeTableParser class.

PipeTableParser(LineBreakInlineParser, PipeTableOptions?)

PipeTableParser.cs

Initializes a new instance of the PipeTableParser class.

public PipeTableParser(LineBreakInlineParser lineBreakParser, PipeTableOptions? options = null)

Parameters

lineBreakParser LineBreakInlineParser
The line break parser to use
options PipeTableOptions?
The options.

Properties

NameDescription
OptionsGets the options.

Gets the options.

public PipeTableOptions Options { get; }

Property value

PipeTableOptions

Methods

NameDescription
Match(InlineProcessor, StringSlice)Attempts to match the parser at the current position.
PostProcess(InlineProcessor, Inline?, Inline?, int, bool)Performs the post process operation.

Match(InlineProcessor, StringSlice)

PipeTableParser.cs

Attempts to match the parser at the current position.

public override bool Match(InlineProcessor processor, ref StringSlice slice)

Parameters

processor InlineProcessor
slice StringSlice

Returns

bool

PostProcess(InlineProcessor, Inline?, Inline?, int, bool)

PipeTableParser.cs

Performs the post process operation.

public bool PostProcess(InlineProcessor state, Inline? root, Inline? lastChild, int postInlineProcessorIndex, bool isFinalProcessing)

Parameters

state InlineProcessor
root Inline?
lastChild Inline?
postInlineProcessorIndex int
isFinalProcessing bool

Returns

bool