loki.transformations.sanitise.tests.test_associates

Functions

test_associates_transformation(frontend, ...)

Test association merging paired with partial resolution of inner scopes via AssociatesTransformation.

test_merge_associates_nested(frontend)

Test association merging for nested mappings.

test_resolve_associates_stmt_func(frontend, ...)

Test scope management for stmt funcs, either as ProcedureSymbol or DeferredTypeSymbol.

test_transform_associates_array_call(frontend)

Test a neat corner case where a component of an associated array is used as a keyword argument in a subroutine call.

test_transform_associates_array_slices(frontend)

Test the resolution of associated array slices.

test_transform_associates_nested(frontend)

Test association resolver with deeply nested associates.

test_transform_associates_nested_conditional(...)

Test association resolver when associate is nested into a conditional.

test_transform_associates_partial_body(frontend)

Test resolving associated symbols, but only for a part of an associate's body.

test_transform_associates_simple(frontend)

Test association resolver on simple cases.

test_transform_associates_start_depth(frontend)

Test resolving associated symbols, but only for a part of an associate's body.

test_transform_associates_simple(frontend)

Test association resolver on simple cases.

test_transform_associates_nested(frontend)

Test association resolver with deeply nested associates.

test_transform_associates_array_call(frontend)

Test a neat corner case where a component of an associated array is used as a keyword argument in a subroutine call.

test_transform_associates_array_slices(frontend)

Test the resolution of associated array slices.

test_transform_associates_nested_conditional(frontend)

Test association resolver when associate is nested into a conditional.

test_transform_associates_partial_body(frontend)

Test resolving associated symbols, but only for a part of an associate’s body.

test_transform_associates_start_depth(frontend)

Test resolving associated symbols, but only for a part of an associate’s body.

test_merge_associates_nested(frontend)

Test association merging for nested mappings.

test_associates_transformation(frontend, merge, resolve)

Test association merging paired with partial resolution of inner scopes via AssociatesTransformation.

test_resolve_associates_stmt_func(frontend, depth)

Test scope management for stmt funcs, either as ProcedureSymbol or DeferredTypeSymbol.