SmartyPantsInlineParser Class

The inline parser for SmartyPants.

public class SmartyPantsInlineParser : InlineParser, IPostInlineProcessor
Inheritance
InlineParser SmartyPantsInlineParser
Implements

Constructors

NameDescription
SmartyPantsInlineParser()Initializes a new instance of the SmartyPantsInlineParser class.

SmartyPantsInlineParser()

SmartyPantsInlineParser.cs

Initializes a new instance of the SmartyPantsInlineParser class.

public SmartyPantsInlineParser()

Methods

NameDescription
Match(InlineProcessor, StringSlice)Attempts to match the parser at the current position.
Meziantou.Framework.Markdown.Parsers.IPostInlineProcessor.PostProcess(InlineProcessor, Inline?, Inline?, int, bool)

Match(InlineProcessor, StringSlice)

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

Meziantou.Framework.Markdown.Parsers.IPostInlineProcessor.PostProcess(InlineProcessor, Inline?, Inline?, int, bool)

SmartyPantsInlineParser.cs
bool IPostInlineProcessor.PostProcess(InlineProcessor state, Inline? root, Inline? lastChild, int postInlineProcessorIndex, bool isFinalProcessing)

Parameters

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

Returns

bool

No documentation is available.