Source code for srdatalog.ir.dialects.relation.sorted_array.print

'''Print_i for the relation.sorted_array dialect.

See docs/stage3a_execution_plan.md ยง1 + ../../iir/cf/print.py for the
contract. Twelve ops, each maps to a single s-expression form.
'''

from __future__ import annotations

from srdatalog.ir.dialects.relation.sorted_array.ops import (
  SaChildRange,
  SaDegree,
  SaGetVal,
  SaGetValAt,
  SaGetValAtPos,
  SaHint,
  SaIterators,
  SaPrefCoop,
  SaPrefSeq,
  SaRoot,
  SaTiledCartesian2D,
  SaValid,
)
from srdatalog.ir.print_iir import _ind, print_iir

OPS: tuple[type, ...] = (
  SaChildRange,
  SaDegree,
  SaGetVal,
  SaGetValAt,
  SaGetValAtPos,
  SaHint,
  SaIterators,
  SaPrefCoop,
  SaPrefSeq,
  SaRoot,
  SaTiledCartesian2D,
  SaValid,
)






__all__ = ['OPS', 'print_op']