Offset into source character array
Offset into source character array
This is now an abstract class, only to work around the optimizer: methods in traits are never inlined.
A scanner for a given source file not necessarily attached to a compilation unit.
A scanner over a given compilation unit
An undefined offset
An undefined offset
Returns the string representation of given token.
Returns the string representation of given token.
(parsers: StringAdd).self
(parsers: StringFormat).self
(parsers: ArrowAssoc[Parsers]).x
(Since version 2.10.0) Use leftOfArrow
instead
(parsers: Ensuring[Parsers]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Performs the following context-free rewritings:
- Places all pattern variables in Bind nodes. In a pattern, for identifiers
x
:if there are no variables in pattern
if there is exactly one variable in pattern
if there is more than one variable in pattern
- Removes function types as follows:
- Wraps naked case definitions in a match as follows:
{ cases } ==> (x => x.match {cases}), except when already argument to match