next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Parsing > Parser > nullParser

nullParser -- a terminal parser that returns the value nil

Code

/usr/share/Macaulay2/Parsing.m2:59:44-59:66: --source code:
terminalParser = val -> new Parser from (c -> if c === null then val)
| symbol   class     value location of symbol
| ------   -----     ----- ------------------                                           
| val    : Symbol -- nil   /usr/share/Macaulay2/Parsing.m2:59:18-59:21

See also

For the programmer

The object nullParser is a parser.