Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 SrcSpan
s of all elements in this OpTree
.