process

abstract fun process(params: P, document: TextDocument): O

Processes the given parameters and text to produce an output.

Return

the output of the operation

Parameters

params

the parameters for the operation

document

the current document