Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

MarkdownSourceMapping

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
e96266e685be with working tree changes
Base
ValueType
Modifiers
sealed

Describes the normalized source slice for a span and, when available, its exact original-input slice.

Inheritance

  • ValueType
  • MarkdownSourceMapping

Usage

Explore 2 API references to this type

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

Accepted by parameters 2

Properties

public MarkdownSourceSpan SourceSpan { get; } #

Source span represented by this mapping.

public MarkdownSourceSlice NormalizedSourceSlice { get; } #

Materialized source slice from the normalized markdown text that backs parser spans.

public bool HasOriginalSource { get; } #

Whether MarkdownSourceMapping.OriginalSourceSlice contains an exact slice from preserved original reader input.

public MarkdownSourceSlice OriginalSourceSlice { get; } #

Materialized source slice from the original reader input when MarkdownSourceMapping.HasOriginalSource is true.

public MarkdownOriginalSourceMappingKind OriginalSourceMappingKind { get; } #

Mapping strategy used for the original source slice, or MarkdownOriginalSourceMappingKind.Unavailable.

public MarkdownOriginalSourceSliceFailureReason OriginalSourceFailureReason { get; } #

Reason the original source slice is unavailable, or MarkdownOriginalSourceSliceFailureReason.None.