loki.transform.transform_associates
Functions
|
Resolve |
Classes
|
|
- resolve_associates(routine)
Resolve
Associate
mappings in the body of a given routine.- Parameters:
routine (
Subroutine
) – The subroutine for which to resolve all associate blocks.
- class ResolveAssociatesTransformer(mapper=None, invalidate_source=True, inplace=False, rebuild_scopes=False)
Bases:
NestedTransformer
Transformer
class to resolveAssociate
nodes in IR treesThis will replace each
Associate
node with its own body, where all identifier symbols have been replaced with the corresponding selector expression defined inassociations
.- visit_Associate(o, **kwargs)