loki.transformations.sanitise
Sub-package with assorted utility Transformation classes to
harmonize the look-and-feel of input source code.
Classes
|
|
- class SanitiseTransformation(resolve_associate_mappings=True, resolve_sequence_association=False)
Bases:
TransformationTransformationobject to apply several code sanitisation steps when batch-processing large source trees via theScheduler.- Parameters:
- transform_subroutine(routine, **kwargs)
Defines the transformation to apply to
Subroutineitems.For transformations that modify
Subroutineobjects, this method should be implemented. It gets called via the dispatch methodapply().- Parameters:
routine (
Subroutine) – The subroutine to be transformed.**kwargs (optional) – Keyword arguments for the transformation.
Modules
A small selection of utility transformations that resolve certain code constructs to unify code structure and make reasoning about Fortran code easier. |
|