Interface TypeHierarchyProvider

Language-specific service for handling type hierarchy requests.

interface TypeHierarchyProvider {
    prepareTypeHierarchy(document: LangiumDocument<AstNode>, params: TypeHierarchyPrepareParams, cancelToken?: CancellationToken): MaybePromise<undefined | TypeHierarchyItem[]>;
    subtypes(params: TypeHierarchySubtypesParams, cancelToken?: CancellationToken): MaybePromise<undefined | TypeHierarchyItem[]>;
    supertypes(params: TypeHierarchySupertypesParams, cancelToken?: CancellationToken): MaybePromise<undefined | TypeHierarchyItem[]>;
}

Implemented by

Methods