chc.app.CFileDictionary module

Dictionary of types and expressions at the file level.

class chc.app.CFileDictionary.CFileDictionary(cfile: CFile, xnode: xml.etree.ElementTree.Element)[source]

Bases: chc.app.CDictionary.CDictionary

Handles indexing of variables across different files (with distinct vid).

All other indexing is handled by the superclass.

property capp: CApplication
property cfile: CFile
convert_ckey(ckey: int, fid: int = - 1) int[source]
property decls: CFileDeclarations
index_compinfo_key(compinfo: chc.app.CCompInfo.CCompInfo, _: object) int[source]
index_exp(e: chc.app.CExp.CExp, subst: Dict[int, chc.app.CExp.CExp] = {}, fid: int = - 1) int[source]
index_lhost_offset(lhost: int, offset: int) int[source]
property indexmanager: IndexManager
property is_global: bool
mk_lval_exp(lval: int) int[source]
exception chc.app.CFileDictionary.CKeyLookupError(thisfid: object, tgtfid: object, ckey: object)[source]

Bases: Exception