chc.api.ApiParameter module

Base class and subclasses:

chc.api.ApiParameter.ApiParameter(cd, ixval)

Base class of formal parameter of a function.

chc.api.ApiParameter.APFormal(cd, ixval)

Formal parameter of a function.

chc.api.ApiParameter.APGlobal(cd, ixval)

Global variable used in a function; treated as a formal parameter.

Object representation of api_parameter_t

class chc.api.ApiParameter.APFormal(cd: InterfaceDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.api.ApiParameter.ApiParameter

Formal parameter of a function.

  • args[0]: parameter index (starting at 1)

property index: int
property is_formal: bool
class chc.api.ApiParameter.APGlobal(cd: InterfaceDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.api.ApiParameter.ApiParameter

Global variable used in a function; treated as a formal parameter.

property is_global: bool
property name: str
class chc.api.ApiParameter.ApiParameter(cd: InterfaceDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]

Bases: chc.api.InterfaceDictionaryRecord.InterfaceDictionaryRecord

Base class of formal parameter of a function.

Parameters
property is_formal: bool
property is_global: bool