Interface ReferenceDescription

Describes a cross-reference within a document or between two documents.

interface ReferenceDescription {
    local?: boolean;
    segment: DocumentSegment;
    sourcePath: string;
    sourceUri: URI;
    targetPath: string;
    targetUri: URI;
}

Properties

local?: boolean

Marks a local reference i.e. a cross reference inside a document.

Segment of the reference text.

sourcePath: string

Path to AstNode that holds a reference

sourceUri: URI

URI of the document that holds a reference

targetPath: string

Path to the target AstNode inside the document

targetUri: URI

Target document uri