AlertBlockParser Class

This class is a block parser that detects quote lines that contain only an alert marker (e.g. "[!NOTE]") and creates an AlertBlock instead of a plain QuoteBlock.

Definition

Namespace: Sandcastle.Core.Markdown.Parsers
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.3.29.0
public class AlertBlockParser : BlockParser
Inheritance
Object    ParserBaseBlockProcessor    BlockParser    AlertBlockParser

Remarks

This version of the parser supports an optional title following the alert type

Constructors

AlertBlockParser Constructor

Properties

Index Gets the index of this parser in BlockParserList or InlineParserList.
(Inherited from ParserBaseBlockProcessor)
OpeningCharacters Gets the opening characters this parser will be triggered if the character is found.
(Inherited from ParserBaseBlockProcessor)

Methods

CanInterrupt Determines whether this instance can interrupt the specified block being processed.
(Inherited from BlockParser)
Close Called when a block matched by this parser is being closed (to allow final computation on the block).
(Inherited from BlockParser)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
HasOpeningCharacter Determines whether the specified char is an opening character.
(Inherited from BlockParser)
Initialize Initializes this parser with the specified parser processor.
(Inherited from ParserBaseBlockProcessor)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryContinue Tries to continue matching a block already opened.
(Overrides BlockParser.TryContinue(BlockProcessor, Block))
TryOpen Tries to match a block opening.
(Overrides BlockParser.TryOpen(BlockProcessor))

Events

Closed
(Inherited from BlockParser)

See Also