Offset into source character array
Offset into source character array
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
Convert name to token
Convert name to token
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