| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ormolu.Printer.Operators
Description
This module helps handle operator chains composed of different operators that may have different precedence and fixities.
Documentation
Intermediate representation of operator trees. It has two type
parameters: ty is the type of sub-expressions, while op is the type
of operators.
opTreeLoc :: OpTree (Located a) b -> SrcSpan Source #
Return combined SrcSpans of all elements in this OpTree.