EmphasisInlineParser Class
An inline parser for EmphasisInline.
public class EmphasisInlineParser : InlineParser, IPostInlineProcessorSee also
- Inheritance
InlineParserEmphasisInlineParser- Implements
Nested types
| Name | Description |
|---|---|
| EmphasisInlineParser.DelimitersObjectCache | Represents the DelimitersObjectCache type. |
| EmphasisInlineParser.TryCreateEmphasisInlineDelegate | Represents the EmphasisInline type. |
Constructors
| Name | Description |
|---|---|
| EmphasisInlineParser() | Initializes a new instance of the EmphasisInlineParser class. |
EmphasisInlineParser()
EmphasisInlineParser.csInitializes a new instance of the EmphasisInlineParser class.
public EmphasisInlineParser()Properties
| Name | Description |
|---|---|
| CjkFriendlyEmphasis | Gets or toggles whether the emphasis parser should be CJK-friendly. |
| EmphasisDescriptors | Gets the emphasis descriptors. |
CjkFriendlyEmphasis
EmphasisInlineParser.csGets or toggles whether the emphasis parser should be CJK-friendly.
public bool CjkFriendlyEmphasis { get; set; }EmphasisDescriptors
EmphasisInlineParser.csGets the emphasis descriptors.
public List<EmphasisDescriptor> EmphasisDescriptors { get; }Property value
Methods
| Name | Description |
|---|---|
| HasEmphasisChar(char) | Determines whether this parser is using the specified character as an emphasis delimiter. |
| Initialize() | Performs the initialize operation. |
| Match(InlineProcessor, StringSlice) | Attempts to match the parser at the current position. |
| PostProcess(InlineProcessor, Inline?, Inline?, int, bool) | Performs the post process operation. |
HasEmphasisChar(char)
EmphasisInlineParser.csInitialize()
EmphasisInlineParser.csPerforms the initialize operation.
public override void Initialize()Match(InlineProcessor, StringSlice)
EmphasisInlineParser.csAttempts to match the parser at the current position.
public override bool Match(InlineProcessor processor, ref StringSlice slice)PostProcess(InlineProcessor, Inline?, Inline?, int, bool)
EmphasisInlineParser.csFields
| Name | Description |
|---|---|
| TryCreateEmphasisInlineList | Gets or sets the try create emphasis inline list. |
TryCreateEmphasisInlineList
Gets or sets the try create emphasis inline list.
public readonly List<EmphasisInlineParser.TryCreateEmphasisInlineDelegate> TryCreateEmphasisInlineList