nullParser -- a terminal parser that returns the value nil
See also
nil -- a symbol a parser may return to indicate acceptance of the empty string of tokens
Code
../Parsing.m2:58:44-58:66: --source code:
terminalParser = val -> new Parser from (c -> if c === null then val)
| symbol class value location of symbol
| ------ ----- ----- ------------------
| val : Symbol -- nil ../Parsing.m2:58:18-58:21