Class Ek9Service
java.lang.Object
org.ek9lang.lsp.Ek9Service
- Direct Known Subclasses:
Ek9CompilerService, Ek9TextDocumentService, Ek9WorkspaceService
Base service for EK9 language compilation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclearOldCompiledDiagnostics(String generalIdentifierOfSource) protected CompilerFlagsprotected Ek9CompilerServiceprotected StringgetFilename(org.eclipse.lsp4j.TextDocumentIdentifier textDocument) protected StringgetFilename(org.eclipse.lsp4j.TextDocumentItem textDocument) protected Ek9LanguageServerprotected TokenResultgetNearestToken(org.eclipse.lsp4j.TextDocumentPositionParams params) protected Workspaceprotected voidreportOnCompiledSource(ErrorListener errorListener) (package private) voidsendDiagnostics(org.eclipse.lsp4j.PublishDiagnosticsParams diagnostics) This is how to send compiler errors back.
-
Field Details
-
pathExtractor
-
-
Constructor Details
-
Ek9Service
Ek9Service(Ek9LanguageServer languageServer)
-
-
Method Details
-
getLanguageServer
-
getWorkspace
-
getCompilerFlags
-
getCompilerService
-
getNearestToken
-
getFilename
-
getFilename
-
reportOnCompiledSource
-
clearOldCompiledDiagnostics
-
sendDiagnostics
void sendDiagnostics(org.eclipse.lsp4j.PublishDiagnosticsParams diagnostics) This is how to send compiler errors back.- Parameters:
diagnostics- The set of diagnostics to be returned to the user.
-