psyclone.psyir.symbols.generic_interface_symbol
This module contains the GenericInterfaceSymbol.
Classes
GenericInterfaceSymbol
: Symbol identifying a generic interface that maps to a number of
- class psyclone.psyir.symbols.generic_interface_symbol.GenericInterfaceSymbol(name, routines, **kwargs)
Symbol identifying a generic interface that maps to a number of different callable routines.
- Parameters:
name (str) – name of the interface.
routines (list[
psyclone.psyir.symbols.RoutineSymbol
]) – the routines that this interface provides access to.kwargs (unwrapped dict.) – additional keyword arguments provided by
psyclone.psyir.symbols.TypedSymbol
Inheritance
- class RoutineInfo(symbol, from_container)
- from_container
Alias for field number 1
- symbol
Alias for field number 0
- property container_routines
- Returns:
those routines that are defined in a Container.
- Return type:
- copy()
Create and return a copy of this object. Any references to the original will not be affected so the copy will not be referred to by any other object.
- Returns:
A symbol object with the same properties as this symbol object.
- Return type:
- property external_routines
- Returns:
those routines that are external procedures.
- Return type:
- property routines
- Returns:
information on all of the routines to which this interface provides access.
- Return type:
list[tuple[
psyclone.psyir.symbols.RoutineSymbol
, bool]]