vsg.vhdlFile
This is one of two classes you will use when incorporating vsg into another python program.
- class vsg.vhdlFile.vhdlFile(filecontent, commandLineArguments=<vsg.vhdlFile.vhdlFile.command_line_args object>, sFilename=None, eError=None, configuration=<vsg.config.config object>)
Holds contents of a VHDL file. When a vhdlFile object is created, the contents of the file must be passed to it. A line object is created for each line read in. Then the line object attributes are updated.
Parameters:
filecontent: (list)
Returns:
fileobject