pyGHDL.libghdl.vhdl.parse

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

The parser: builds the AST of a design file from its source code.

Variables

Functions


Variables

pyGHDL.libghdl.vhdl.parse.Flag_Parse_Parenthesis
c_bool(False)

Functions

pyGHDL.libghdl.vhdl.parse.Parse_Design_File()[source]

Parse a file.

..note:: The scanner must have been initialized as for parse_design_unit.

Return type:

TypeVar(Iir, bound= c_int)

Returns:

Return Null_Iir in case of error