chc.app.CTypsig module

Base class and subclasses

chc.app.CTypsig.CTypsig(cd, ixval)

chc.app.CTypsig.CTypsigArray(cd, ixval)

Array type signature.

chc.app.CTypsig.CTypsigPtr(cd, ixval)

Pointer type signature.

chc.app.CTypsig.CTypsigComp(cd, ixval)

Struct type signature.

chc.app.CTypsig.CTypsigFun(cd, ixval)

Function type signature.

chc.app.CTypsig.CTypsigEnum(cd, ixval)

Enum type signature.

chc.app.CTypsig.CTypsigBase(cd, ixval)

Base type signature.

Type signature used in attributes.

class chc.app.CTypsig.CTypsig(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CDictionaryRecord.CDictionaryRecord

property cd: CDictionary
property cfile: CFile
class chc.app.CTypsig.CTypsigArray(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CTypsig.CTypsig

Array type signature.

  • tags[1]: length of array (optional)

  • args[0]: index of type signature of array base in cdictionary

  • args[1]: index of attributes in cdictionary

property attributes: CAttributes
property opt_length: Optional[int]
property typsig: chc.app.CTypsig.CTypsig
class chc.app.CTypsig.CTypsigBase(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CTypsig.CTypsig

Base type signature.

  • args[1]: index of type of base type signature in cdictionary.

property base_type: CTyp
class chc.app.CTypsig.CTypsigComp(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CTypsig.CTypsig

Struct type signature.

  • tags[1]: name of struct

property name: str
class chc.app.CTypsig.CTypsigEnum(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CTypsig.CTypsig

Enum type signature.

  • tags[1]: enum name

property name: str
class chc.app.CTypsig.CTypsigFun(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CTypsig.CTypsig

Function type signature.

  • args[0]: index of return value type signature in cdictionary

  • args[1]: index of list of argument type signatures in cdictionary

opt_arg_typsigs_list() Optional[chc.app.CTypsig.CTypsigList][source]
property returnval_typsig: chc.app.CTypsig.CTypsig
class chc.app.CTypsig.CTypsigList(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.util.IndexedTable.IndexedTableValue

property typsig_list: List[chc.app.CTypsig.CTypsig]
class chc.app.CTypsig.CTypsigPtr(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CTypsig.CTypsig

Pointer type signature.

  • args[0]: index of target type signature in cdictionary

property typsig: chc.app.CTypsig.CTypsig