Interface IBlockParsingContext

Interface IBlockParsingContext

Namespace: Aspose.Html.Toolkit.Markdown.Syntax.Parser
Assembly: Aspose.HTML.dll (25.2.0)

Defines the IBlockParsingContext interface.

[ComVisible(true)]
public interface IBlockParsingContext

Properties

Instruction

Get the Instruction.

LineParsingInstruction Instruction { get; }

Property Value

LineParsingInstruction

Reader

Get the Reader.

SourceTextReader Reader { get; }

Property Value

SourceTextReader

Source

Get the Source.

SourceText Source { get; }

Property Value

SourceText

SyntaxFactory

Get the SyntaxFactory.

MarkdownSyntaxFactory SyntaxFactory { get; }

Property Value

MarkdownSyntaxFactory

Methods

Close(BlockSyntaxDescriptor, BlockClosingReason)

Defines the Close method.

void Close(BlockSyntaxDescriptor head, BlockClosingReason reason)

Parameters

head BlockSyntaxDescriptor

The BlockSyntaxDescriptor.

reason BlockClosingReason

The BlockClosingReason.

Close(BlockClosingReason)

Defines the Close method.

void Close(BlockClosingReason reason)

Parameters

reason BlockClosingReason

The BlockClosingReason.

Delete(BlockSyntaxDescriptor)

Defines the Delete method.

void Delete(BlockSyntaxDescriptor head)

Parameters

head BlockSyntaxDescriptor

The BlockSyntaxDescriptor.

GetBlockSyntaxParsers()

Defines the GetBlockSyntaxParsers method.

IEnumerable<markdownblockparser> GetBlockSyntaxParsers()

Returns

IEnumerable<MarkdownBlockParser&gt;

The IEnumerable.

GetInlineSyntaxParsers()

Defines the GetInlineSyntaxParsers method.

IEnumerable<markdowninlinesyntaxparser> GetInlineSyntaxParsers()

Returns

IEnumerable<MarkdownInlineSyntaxParser&gt;

The IEnumerable.

GetOpenBlocks()

Defines the GetOpenBlocks.

IEnumerable<blocksyntaxdescriptor> GetOpenBlocks()

Returns

IEnumerable<BlockSyntaxDescriptor&gt;

The collection of BlockSyntaxDescriptor.

Peak()

Defines the Peak method.

BlockSyntaxDescriptor Peak()

Returns

BlockSyntaxDescriptor

The BlockSyntaxDescriptor.

Push(BlockSyntaxNode)

Defines the Push method.

BlockSyntaxDescriptor Push(BlockSyntaxNode block)

Parameters

block BlockSyntaxNode

The block.

Returns

BlockSyntaxDescriptor

The BlockSyntaxDescriptor.