pyGHDL.lsp

Implementation of GHDL’s language server.

The package is layered, from the wire upwards:

  1. pyGHDL.lsp.lsp speaks the Language Server Protocol over stdin and stdout.

  2. pyGHDL.lsp.vhdl_ls implements the VHDL-specific requests on top of it.

  3. pyGHDL.lsp.workspace and pyGHDL.lsp.document hold 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 LSPException catches them without also catching failures of the analyzer or of the document object model.

Inheritance

Inheritance diagram of LSPException

Parameters:

message (str)

Return type:

None