LiteralInlineParser Class

An inline parser for parsing LiteralInline.

public sealed class LiteralInlineParser : InlineParser

See also

Inheritance
InlineParser LiteralInlineParser

Nested types

NameDescription
LiteralInlineParser.PostMatchDelegateRepresents the void type.

Constructors

NameDescription
LiteralInlineParser()We don't expect the LiteralInlineParser to be instantiated a end-user, as it is part of the default parser pipeline (and should always be the last), working as a literal character collector.

LiteralInlineParser()

LiteralInlineParser.cs

We don't expect the LiteralInlineParser to be instantiated a end-user, as it is part of the default parser pipeline (and should always be the last), working as a literal character collector.

public LiteralInlineParser()

Properties

NameDescription
PostMatchGets or sets the post match delegate called after the inline has been processed.

Gets or sets the post match delegate called after the inline has been processed.

public LiteralInlineParser.PostMatchDelegate? PostMatch { get; set; }

Methods

NameDescription
Match(InlineProcessor, StringSlice)Attempts to match the parser at the current position.

Match(InlineProcessor, StringSlice)

LiteralInlineParser.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