API Reference

Enum

MarkdownOriginalSourceSliceFailureReason

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Explains why an original-input source slice could not be materialized for a normalized source span.

Inheritance

  • Enum
  • MarkdownOriginalSourceSliceFailureReason

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Values

public const MarkdownOriginalSourceSliceFailureReason None #

No failure occurred.

Value: 0
public const MarkdownOriginalSourceSliceFailureReason OriginalMarkdownNotPreserved #

The parse result did not retain exact original reader input.

Value: 1
public const MarkdownOriginalSourceSliceFailureReason AssociatedObjectNotFound #

No final syntax node was found for the supplied associated object.

Value: 2
public const MarkdownOriginalSourceSliceFailureReason SourceSpanUnavailable #

The requested syntax node or span has no source span that can be mapped.

Value: 3
public const MarkdownOriginalSourceSliceFailureReason GeneratedSyntaxNode #

The requested syntax node was generated from semantic content and has no exact original source.

Value: 4
public const MarkdownOriginalSourceSliceFailureReason OriginalTextNotEquivalent #

The original reader input is not equivalent to the normalized source text.

Value: 5
public const MarkdownOriginalSourceSliceFailureReason OriginalSpanUnavailable #

The source span could not be mapped into the original reader input.

Value: 6