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 void
clearOldCompiledDiagnostics
(String generalIdentifierOfSource) protected CompilerFlags
protected Ek9CompilerService
protected String
getFilename
(org.eclipse.lsp4j.TextDocumentIdentifier textDocument) protected String
getFilename
(org.eclipse.lsp4j.TextDocumentItem textDocument) protected Ek9LanguageServer
protected TokenResult
getNearestToken
(org.eclipse.lsp4j.TextDocumentPositionParams params) protected Workspace
protected void
reportOnCompiledSource
(ErrorListener errorListener) (package private) void
sendDiagnostics
(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.
-