Helper object to build values of Ops[A, A]
, for monolithic precedence parsing
- Since:
2.2.0
- Companion:
- class
Value members
Concrete methods
'''NOTE''': Currently a bug in scaladoc incorrect displays this functions type, it should be:
fixity.Op[A]
, NOT Op[A]
. Builds an Ops
object which represents many operators
which act at the same precedence level, with a given fixity. Using path-dependent typing,
the given fixity describes the shape of the operators expected. For more information see
the Parsley wiki.
'''NOTE''': Currently a bug in scaladoc incorrect displays this functions type, it should be:
fixity.Op[A]
, NOT Op[A]
. Builds an Ops
object which represents many operators
which act at the same precedence level, with a given fixity. Using path-dependent typing,
the given fixity describes the shape of the operators expected. For more information see
the Parsley wiki.
- Type parameters:
- A
The type associated with the operators (which it consumes and produces)
- Value parameters:
- fixity
The fixity of the operators described. See Fixity
- ops
The operators themselves, in varargs
- Since:
2.2.0