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
Reader
Get the Reader.
SourceTextReader Reader { get; }
Property Value
Source
Get the Source.
SourceText Source { get; }
Property Value
SyntaxFactory
Get the SyntaxFactory.
MarkdownSyntaxFactory SyntaxFactory { get; }
Property Value
Methods
Close(BlockSyntaxDescriptor, BlockClosingReason)
Defines the Close method.
void Close(BlockSyntaxDescriptor head, BlockClosingReason reason)
Parameters
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
The BlockSyntaxDescriptor.
GetBlockSyntaxParsers()
Defines the GetBlockSyntaxParsers method.
IEnumerable<markdownblockparser> GetBlockSyntaxParsers()
Returns
IEnumerable<MarkdownBlockParser>
The IEnumerable.
GetInlineSyntaxParsers()
Defines the GetInlineSyntaxParsers method.
IEnumerable<markdowninlinesyntaxparser> GetInlineSyntaxParsers()
Returns
IEnumerable<MarkdownInlineSyntaxParser>
The IEnumerable.
GetOpenBlocks()
Defines the GetOpenBlocks.
IEnumerable<blocksyntaxdescriptor> GetOpenBlocks()
Returns
IEnumerable<BlockSyntaxDescriptor>
The collection of BlockSyntaxDescriptor.
Peak()
Defines the Peak method.
BlockSyntaxDescriptor Peak()
Returns
The BlockSyntaxDescriptor.
Push(BlockSyntaxNode)
Defines the Push method.
BlockSyntaxDescriptor Push(BlockSyntaxNode block)
Parameters
block
BlockSyntaxNode
The block.
Returns
The BlockSyntaxDescriptor.