ParserBase<TProcessor> Class

Base class for a BlockParser or InlineParser.

public abstract class ParserBase<TProcessor> : IMarkdownParser<TProcessor>

Type parameters

TProcessor
Type of the parser processor

See also

Implements

Constructors

NameDescription
ParserBase()

ParserBase()

protected ParserBase()

No documentation is available.

Properties

NameDescription
IndexGets the index of this parser in BlockParserList or InlineParserList.
OpeningCharactersGets the opening characters this parser will be triggered if the character is found.

Gets the index of this parser in BlockParserList or InlineParserList.

public int Index { get; }

Property value

int

OpeningCharacters

ParserBase.cs

Gets the opening characters this parser will be triggered if the character is found.

public char[]? OpeningCharacters { get; set; }

Property value

char[]?

Methods

NameDescription
Initialize()Initializes this parser with the specified parser processor.

Initialize()

ParserBase.cs

Initializes this parser with the specified parser processor.

public virtual void Initialize()