API Reference
Class
AsciiDocSourceMapping
A processed text range and the original line or directive that produced it.
Inheritance
- Object
- AsciiDocSourceMapping
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
Methods
public AsciiDocSourcePosition GetSourcePosition(Int32 processedOffset) #Returns:
AsciiDocSourcePositionMaps an offset to an exact original position, or the producing range's start for transformed text.
Parameters
- processedOffset System.Int32
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Int32 ProcessedStart { get; } #Inclusive zero-based UTF-16 offset in processed source.
public Int32 ProcessedEnd { get; } #Exclusive zero-based UTF-16 offset in processed source.
public String SourceName { get; } #Origin identifier supplied by the caller or include resolver.
public AsciiDocSourceSpan OriginalSpan { get; } #Original source range. Generated text refers to its producing directive.
public Boolean IsExact { get; } #True when this range is a character-for-character slice of one original line.