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
Returns the string representation of given token.
Returns the string representation of given token.
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