TextDocumentSubservice

Represents a single operation that is part of a TextDocumentService.

This is to ensure the main service does not break single-responsibility principles.

Parameters

P

type of the parameters

O

type of the output of the operation

Inheritors

Functions

Link copied to clipboard
abstract fun process(params: P, document: TextDocument): O

Processes the given parameters and text to produce an output.