Packages

c

info.kwarc.mmt.lsp

ServerEndpoint

class ServerEndpoint extends LanguageClientAware with Workspace with TextDocument with Extension

Source
Server.scala
Linear Supertypes
Extension, Logger, TextDocument, Workspace, LanguageClientAware, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerEndpoint
  2. Extension
  3. Logger
  4. TextDocument
  5. Workspace
  6. LanguageClientAware
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerEndpoint()

Type Members

  1. case class LocalError(s: String) extends ExtensionError with Product with Serializable

    a custom error class for this extension

    a custom error class for this extension

    Definition Classes
    Extension

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def catchErrors[A](msg: String, recoverWith: ⇒ A)(code: ⇒ A): A

    like its partner but with return value

    like its partner but with return value

    Attributes
    protected
    Definition Classes
    Extension
  6. def catchErrors(msg: String)(code: ⇒ Unit): Unit

    convenience method for wrapping code in error handler that throws LocalError

    convenience method for wrapping code in error handler that throws LocalError

    Attributes
    protected
    Definition Classes
    Extension
  7. def client: MMTClient
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def codeAction(params: CodeActionParams): CompletableFuture[List[CodeAction]]
    Annotations
    @JsonRequest()
  10. def codeLens(params: CodeLensParams): CompletableFuture[List[CodeLens]]
    Annotations
    @JsonRequest()
  11. def completion(position: CompletionParams): CompletableFuture[Either[List[CompletionItem], CompletionList]]
    Annotations
    @JsonRequest()
  12. def connect(clientO: LanguageClient): Unit
    Definition Classes
    ServerEndpoint → LanguageClientAware
    Annotations
    @JsonNotification()
  13. val controller: Controller

    the controller that this extension is added to; only valid after creation of the extension, i.e., will return null if used in a non-lazy val-field

    the controller that this extension is added to; only valid after creation of the extension, i.e., will return null if used in a non-lazy val-field

    Attributes
    protected
    Definition Classes
    Extension
  14. lazy val defaultPrefix: String
    Definition Classes
    Extension
  15. def definition(position: TextDocumentPositionParams): CompletableFuture[Either[List[Location], List[LocationLink]]]
    Annotations
    @JsonRequest()
  16. def destroy: Unit

    extension-specific cleanup (override as needed, empty by default)

    extension-specific cleanup (override as needed, empty by default)

    Extensions may create persistent data structures and threads, but they must clean up after themselves in this method

    Definition Classes
    Extension
  17. def destroyWhenRemainingTasksFinished: Unit

    convenience for calling waitUntilRemainingTasksFinished and then destroy

    convenience for calling waitUntilRemainingTasksFinished and then destroy

    Definition Classes
    Extension
  18. def didChange(params: DidChangeTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  19. def didChangeConfiguration(params: DidChangeConfigurationParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  20. def didChangeWatchedFiles(params: DidChangeWatchedFilesParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  21. def didClose(params: DidCloseTextDocumentParams): Unit
    Annotations
    @JsonNotification()
  22. def didOpen(params: DidOpenTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  23. def didSave(params: DidSaveTextDocumentParams): CompletableFuture[Unit]
    Annotations
    @JsonNotification()
  24. def documentHighlights(params: TextDocumentPositionParams): CompletableFuture[List[DocumentHighlight]]
    Annotations
    @JsonRequest()
  25. def documentSymbol(params: DocumentSymbolParams): CompletableFuture[Either[List[DocumentSymbol], List[SymbolInformation]]]
    Annotations
    @JsonRequest()
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  28. def executeCommand(params: ExecuteCommandParams): CompletableFuture[AnyRef]
    Annotations
    @JsonRequest()
  29. def exit(): Unit
    Annotations
    @JsonNotification()
  30. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def foldingRange(params: FoldingRangeRequestParams): CompletableFuture[List[FoldingRange]]
    Annotations
    @JsonRequest()
  32. def formatting(params: DocumentFormattingParams): CompletableFuture[List[TextEdit]]
    Annotations
    @JsonRequest()
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def getFromFirstArgOrEnvvar(args: List[String], name: String, default: String = ""): String
    Attributes
    protected
    Definition Classes
    Extension
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. def hover(params: TextDocumentPositionParams): CompletableFuture[Hover]
    Annotations
    @JsonRequest()
  37. def implementation(position: TextDocumentPositionParams): CompletableFuture[List[Location]]
    Annotations
    @JsonRequest()
  38. def initOther(e: Extension): Unit

    any extension can initialize other extensions if those are not meant to be added to the ExtensionManager

    any extension can initialize other extensions if those are not meant to be added to the ExtensionManager

    Attributes
    protected
    Definition Classes
    Extension
  39. def initialize(params: InitializeParams): CompletableFuture[InitializeResult]
    Annotations
    @JsonRequest()
  40. def initialized(params: InitializedParams): Unit
    Annotations
    @JsonNotification()
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. def log(s: ⇒ String, subgroup: Option[String]): Unit

    logs a message with this logger's logprefix

    logs a message with this logger's logprefix

    Definition Classes
    ServerEndpointLogger
  43. def log(e: Error): Unit

    logs an error - always logged

    logs an error - always logged

    Attributes
    protected
    Definition Classes
    Logger
  44. def logError(s: ⇒ String): Unit

    log as an error message

    log as an error message

    Attributes
    protected
    Definition Classes
    Logger
  45. def logGroup[A](a: ⇒ A): A

    wraps around a group to create nested logging

    wraps around a group to create nested logging

    Attributes
    protected
    Definition Classes
    Logger
  46. def logPrefix: String

    the prefix used to identify this extension for logging, by default the class name

    the prefix used to identify this extension for logging, by default the class name

    Definition Classes
    ServerEndpointExtensionLogger
  47. def logTemp(s: ⇒ String): Unit

    temporary logging - always logged

    temporary logging - always logged

    Attributes
    protected
    Definition Classes
    Logger
  48. def makeErrorThrower(msg: String): ErrorHandler

    an ErrorHandler that wraps an error in a LocalError and throws it

    an ErrorHandler that wraps an error in a LocalError and throws it

    Attributes
    protected
    Definition Classes
    Extension
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. def references(params: ReferenceParams): CompletableFuture[List[Location]]
    Annotations
    @JsonRequest()
  53. def rename(params: RenameParams): CompletableFuture[WorkspaceEdit]
    Annotations
    @JsonRequest()
  54. val report: Report
    Attributes
    protected
    Definition Classes
    ExtensionLogger
  55. def shutdown(): CompletableFuture[AnyRef]
    Annotations
    @JsonRequest()
  56. def signatureHelp(params: TextDocumentPositionParams): CompletableFuture[SignatureHelp]
    Annotations
    @JsonRequest()
  57. def start(args: List[String]): Unit

    extension-specific initialization (override as needed, empty by default)

    extension-specific initialization (override as needed, empty by default)

    Definition Classes
    ServerEndpointExtension
  58. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  59. def toString(): String
    Definition Classes
    AnyRef → Any
  60. def typeDefinition(position: TextDocumentPositionParams): CompletableFuture[Either[List[Location], List[LocationLink]]]
    Annotations
    @JsonRequest()
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  64. def waitUntilRemainingTasksFinished: Unit

    extensions that process tasks in separate threads should override this and wait until those threads are done

    extensions that process tasks in separate threads should override this and wait until those threads are done

    Definition Classes
    Extension
  65. def workspaceSymbol(params: WorkspaceSymbolParams): CompletableFuture[List[SymbolInformation]]
    Annotations
    @JsonRequest()
  66. object Completable
    Attributes
    protected
  67. object a_TD extends TextDocumentService
    Attributes
    protected
    Definition Classes
    TextDocument
  68. object a_TD2
    Attributes
    protected
    Definition Classes
    TextDocument
  69. object a_WSP extends WorkspaceService
    Attributes
    protected
    Definition Classes
    Workspace
  70. object a_WSP2
    Attributes
    protected
    Definition Classes
    Workspace

Inherited from Extension

Inherited from Logger

Inherited from TextDocument

Inherited from Workspace

Inherited from LanguageClientAware

Inherited from AnyRef

Inherited from Any

Ungrouped