Langium - v4.0.0
    Preparing search index...

    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,
            cancelToken?: Cancellation.CancellationToken,
        ): Promise<ReferenceDescription[]>;
    }

    Implemented by

    Index

    Methods