chc.app.CFieldInfo module

Type and layout of a struct or union field.

class chc.app.CFieldInfo.CFieldInfo(cdecls: CDeclarations, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CDictionaryRecord.CDeclarationsRecord

Definition of a struct field.

  • tags[0] fname

  • args[0]: fcomp.ckey (-1 for global structs)

  • args[1]: ftype

  • args[2]: fbitfield

  • args[3]: fattr (-1 for global structs)

  • args[4]: floc (-1 for global structs)

property attributes: Optional[CAttributes]
property bitfield: int
property fname: str
property ftype: CTyp
property location: Optional[CLocation]
property size: int