Interface ReferenceDescriptionProvider

Language-specific service to create descriptions of all cross-references in a document. These are used by the IndexManager to determine which documents are affected and should be rebuilt when a document is changed.

interface ReferenceDescriptionProvider {
    createDescriptions(document: LangiumDocument<AstNode>, cancelToken?: CancellationToken): Promise<ReferenceDescription[]>;
}

Implemented by

Methods