pyGHDL.lsp
Implementation of GHDL’s language server.
The package is layered, from the wire upwards:
pyGHDL.lsp.lspspeaks the Language Server Protocol over stdin and stdout.pyGHDL.lsp.vhdl_lsimplements the VHDL-specific requests on top of it.pyGHDL.lsp.workspaceandpyGHDL.lsp.documenthold the analyzed sources the requests are answered from.
The entry point is pyGHDL.cli.lsp.
Submodules
Exceptions
LSPException: The exception is raised for every failure of the language server.
Exceptions
- exception pyGHDL.lsp.LSPException(message='')[source]
The exception is raised for every failure of the language server.
It is the base-class of the language server’s exceptions, so
except LSPExceptioncatches them without also catching failures of the analyzer or of the document object model.Inheritance
- Parameters:
message (str)
- Return type:
None