pyGHDL.libghdl.vhdl.formatters

Python binding for the Ada package Vhdl.Formatters in libghdl.

Reformats VHDL source code, used by the language server.

Functions

  • Indent_String(): Reindent all lines of F between [First_Line; Last_Line] to Handle.


Functions

pyGHDL.libghdl.vhdl.formatters.Indent_String(File, Handle, FirstLine, LastLine)[source]

Reindent all lines of F between [First_Line; Last_Line] to Handle.

Parameters:
  • File (int) – File to indent lines within

  • Handle (c_void_p) – The handle of the string buffer to append to.

  • FirstLine (int) – The first line to reindent.

  • LastLine (int) – The last line to reindent.

Return type:

None