chc.app.CAttributes module
|
Attribute that comes with a C type. |
|
Addressof operator on attribute. |
|
Alignment of a type. |
|
Alignment of an attribute parameter. |
|
Alignment of a type signature. |
|
Binary attribute parameter operation. |
|
Constructed attributes. |
|
Dot operator on attributes. |
|
Index operation on attributes |
|
Integer attribute. |
|
Question operator on attributes |
|
Attribute that describes the size of a type. |
|
Size of an attribute parameter. |
|
Replacement ASizeOf in type signatures. |
|
Star operation on attribute. |
|
String attribute. |
|
Unary attribute parameter operation. |
|
|
|
Object representation of CIL attrparam sum type.
- class chc.app.CAttributes.CAttr(cd: CDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.app.CDictionaryRecord.CDictionaryRecordAttribute 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.CAttrAddressof 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.CAttrAlignment 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.CAttrAlignment 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.CAttrAlignment 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.CAttrBinary 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.CAttrConstructed 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.CAttrDot 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.CAttrIndex 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.CAttrInteger 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.CAttrQuestion 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.CAttrAttribute 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.CAttrSize 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.CAttrReplacement 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.CAttrStar 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.CAttrString 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.CAttrUnary 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