chc.api.SOffset module

Base class and subclasses:

chc.api.SOffset.SOffset(ifd, ixval)

Base class for s_term offset.

chc.api.SOffset.STArgNoOffset(ifd, ixval)

No Offset.

chc.api.SOffset.STArgFieldOffset(ifd, ixval)

Field offset in an s_term.

chc.api.SOffset.STArgIndexOffset(cd, ixval)

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.InterfaceDictionaryRecord

Base class for s_term offset.

get_mathml_node(signature: List[str]) Optional[xml.etree.ElementTree.Element][source]
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.SOffset

Field offset in an s_term.

tags[1]: field name args[0]: index of sub-offset in interface dictionary

property field: str
get_mathml_node(signature: List[str]) Optional[xml.etree.ElementTree.Element][source]
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.SOffset

Index offset in an s_term.

tags[1]: array index in string form args[0]: index of sub-offset in interface dictionary

get_mathml_node(signature: List[str]) Optional[xml.etree.ElementTree.Element][source]
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.SOffset

No Offset.

get_mathml_node(signature: List[str]) Optional[xml.etree.ElementTree.Element][source]
property is_no_offset: bool