chc.app.CAttributes module

chc.app.CAttributes.CAttr(cd, ixval)

Attribute that comes with a C type.

chc.app.CAttributes.CAttrAddrOf(cd, ixval)

Addressof operator on attribute.

chc.app.CAttributes.CAttrAlignOf(cd, ixval)

Alignment of a type.

chc.app.CAttributes.CAttrAlignOfE(cd, ixval)

Alignment of an attribute parameter.

chc.app.CAttributes.CAttrAlignOfS(cd, ixval)

Alignment of a type signature.

chc.app.CAttributes.CAttrBinOp(cd, ixval)

Binary attribute parameter operation.

chc.app.CAttributes.CAttrCons(cd, ixval)

Constructed attributes.

chc.app.CAttributes.CAttrDot(cd, ixval)

Dot operator on attributes.

chc.app.CAttributes.CAttrIndex(cd, ixval)

Index operation on attributes

chc.app.CAttributes.CAttrInt(cd, ixval)

Integer attribute.

chc.app.CAttributes.CAttrQuestion(cd, ixval)

Question operator on attributes

chc.app.CAttributes.CAttrSizeOf(cd, ixval)

Attribute that describes the size of a type.

chc.app.CAttributes.CAttrSizeOfE(cd, ixval)

Size of an attribute parameter.

chc.app.CAttributes.CAttrSizeOfS(cd, ixval)

Replacement ASizeOf in type signatures.

chc.app.CAttributes.CAttrStar(cd, ixval)

Star operation on attribute.

chc.app.CAttributes.CAttrStr(cd, ixval)

String attribute.

chc.app.CAttributes.CAttrUnOp(cd, ixval)

Unary attribute parameter operation.

chc.app.CAttributes.CAttribute(cd, ixval)

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

Object representation of CIL attrparam sum type.

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

Bases: chc.app.CDictionaryRecord.CDictionaryRecord

Attribute that comes with a C type.

property is_addrof: bool
property is_alignof: bool
property is_alignofe: bool
property is_alignofs: bool
property is_binop: bool
property is_cons: bool
property is_dot: bool
property is_index: bool
property is_int: bool
property is_question: bool
property is_sizeof: bool
property is_sizeofe: bool
property is_sizeofs: bool
property is_star: bool
property is_str: bool
property is_unop: bool
class chc.app.CAttributes.CAttrAddrOf(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Addressof operator on attribute.

  • args[0]: index of attribute parameter in cdictionary

property is_addrof: bool
property param: chc.app.CAttributes.CAttr
class chc.app.CAttributes.CAttrAlignOf(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Alignment of a type.

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

property is_alignof: bool
property typ: CTyp
class chc.app.CAttributes.CAttrAlignOfE(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Alignment of an attribute parameter.

  • args[0]: index of attribute parameter in cdictionary

property is_alignofe: bool
property param: chc.app.CAttributes.CAttr
class chc.app.CAttributes.CAttrAlignOfS(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Alignment of a type signature.

  • args[0]: target type signature

property is_alignofs: bool
property typsig: CTypsig
class chc.app.CAttributes.CAttrBinOp(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Binary attribute parameter operation.

  • tags[1]: operator

  • args[0]: index of first attribute parameter in cdictionary

  • args[1]: index of second attribute parameter in cdictionary

property is_binop: bool
property op: str
property param1: chc.app.CAttributes.CAttr
property param2: chc.app.CAttributes.CAttr
class chc.app.CAttributes.CAttrCons(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Constructed attributes.

  • tags[1]: name

  • args[0..]: indices of attribute parameters in cdictionary.

property is_cons: bool
property name: str
property params: List[chc.app.CAttributes.CAttr]
class chc.app.CAttributes.CAttrDot(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Dot operator on attributes.

  • tags[1]: string suffix

  • args[0]: index of attribute parameter in cdictionary

property is_dot: bool
property param: chc.app.CAttributes.CAttr
property suffix: str
class chc.app.CAttributes.CAttrIndex(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Index operation on attributes

  • args[0]: index of first attribute parameter in cdictionary

  • args[1]: index of second attribute parameter in cdictionary

property is_index: bool
property param1: chc.app.CAttributes.CAttr
property param2: chc.app.CAttributes.CAttr
class chc.app.CAttributes.CAttrInt(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Integer attribute.

args[0]: integer value

property intvalue: int
property is_int: bool
class chc.app.CAttributes.CAttrQuestion(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Question operator on attributes

  • args[0]: index of first attribute paramter in cdictionary

  • args[1]: index of second attribute parameter in cdictionary

  • args[2]: index of third attribute parameter in cdictionary

property param1: chc.app.CAttributes.CAttr
property param2: chc.app.CAttributes.CAttr
property param3: chc.app.CAttributes.CAttr
class chc.app.CAttributes.CAttrSizeOf(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Attribute that describes the size of a type.

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

property is_sizeof: bool
property typ: CTyp
class chc.app.CAttributes.CAttrSizeOfE(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Size of an attribute parameter.

  • args[0]: index of argument parameter in cdictionary

property is_sizeofe: bool
property param: chc.app.CAttributes.CAttr
class chc.app.CAttributes.CAttrSizeOfS(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Replacement ASizeOf in type signatures.

  • args[0]: index of target typsig in cdictionary

property is_sizeofs: bool
property typsig: CTypsig
class chc.app.CAttributes.CAttrStar(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Star operation on attribute.

  • args[0]: index of attribute parameter in cdictionary

property is_star: bool
property param: chc.app.CAttributes.CAttr
class chc.app.CAttributes.CAttrStr(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

String attribute.

  • args[0]: index in string table of string attribute

property is_str: bool
property stringvalue: str
class chc.app.CAttributes.CAttrUnOp(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CAttributes.CAttr

Unary attribute parameter operation.

  • tags[1]: operator

  • args[0]: index of attribute parameter in cdictionary

property is_unop: bool
property op: str
property param: chc.app.CAttributes.CAttr
class chc.app.CAttributes.CAttribute(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CDictionaryRecord.CDictionaryRecord

property name: str
property params: List[chc.app.CAttributes.CAttr]
class chc.app.CAttributes.CAttributes(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.app.CDictionaryRecord.CDictionaryRecord

property attributes: List[chc.app.CAttributes.CAttribute]
property length: int