chc.source package

Access to original source code files.

Submodules

chc.source.CSrcFile module

class chc.source.CSrcFile.CSrcFile(capp: CApplication, fname: str)[source]

Bases: object

Represents the text file that holds the C source code.

property capp: CApplication
property fname: str

Returns the absolute c filename relative to the project directory.

get_line(n: int) Optional[str][source]
get_line_count() int[source]
property lines: Dict[int, str]