chc.api.SOffset module
Base class and subclasses:
|
Base class for s_term offset. |
|
No Offset. |
|
Field offset in an s_term. |
|
Index offset in an s_term. |
Object representation of sumtype s_offset_t.
- class chc.api.SOffset.SOffset(ifd: InterfaceDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.api.InterfaceDictionaryRecord.InterfaceDictionaryRecordBase class for s_term offset.
- property is_field: bool
- property is_index: bool
- property is_nooffset: bool
- class chc.api.SOffset.STArgFieldOffset(ifd: InterfaceDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.api.SOffset.SOffsetField offset in an s_term.
tags[1]: field name args[0]: index of sub-offset in interface dictionary
- property field: str
- property is_field: bool
- property offset: chc.api.SOffset.SOffset
- class chc.api.SOffset.STArgIndexOffset(cd: InterfaceDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.api.SOffset.SOffsetIndex offset in an s_term.
tags[1]: array index in string form args[0]: index of sub-offset in interface dictionary
- property index: int
- property is_index: bool
- property offset: chc.api.SOffset.SOffset
- class chc.api.SOffset.STArgNoOffset(ifd: InterfaceDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.api.SOffset.SOffsetNo Offset.
- property is_no_offset: bool