7.7.2.9. Module axivion.ir.common.types.qualified_types

Functions

is_const_qualified(node)

Gets whether the type has a top-level const qualifier.

is_volatile_qualified(node)

Gets whether the type has a top-level volatile qualifier.

is_const_qualified

qualified_types.is_const_qualified()

Gets whether the type has a top-level const qualifier. Also returns True for arrays with const-qualified elements and references to const; since arrays and references themselves cannot be const.

Parameters:

node (typing.Union[Type, axivion.ir.NoNode[Type]])

Return type:

bool

is_volatile_qualified

qualified_types.is_volatile_qualified()

Gets whether the type has a top-level volatile qualifier. Also returns True for arrays with volatile-qualified elements and references to volatile; since arrays and references themselves cannot be volatile.

Parameters:

node (typing.Union[Type, axivion.ir.NoNode[Type]])

Return type:

bool