psyclone.psyir.symbols.generic_interface_symbol

This module contains the GenericInterfaceSymbol.

Classes

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:

Inheritance

Inheritance diagram of GenericInterfaceSymbol
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:

list[psyclone.psyir.symbols.RoutineSymbol]

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:

psyclone.psyir.symbols.GenericInterfaceSymbol

property external_routines
Returns:

those routines that are external procedures.

Return type:

list[psyclone.psyir.symbols.RoutineSymbol]

property routines
Returns:

information on all of the routines to which this interface provides access.

Return type:

list[tuple[psyclone.psyir.symbols.RoutineSymbol, bool]]