next | previous | forward | backward | up | top | index | toc | directory | Macaulay 2 web site
Parsing > Parser > nullParser

nullParser -- a terminal parser that returns the value nil

See also

Code

/home/dan/src/M2/1.2/Macaulay2/packages/Parsing.m2:56:44-56:66: --source code:
terminalParser = val -> new Parser from (c -> if c === null then val)
| symbol   class     value location of symbol
| ------   -----     ----- ------------------                                            
| val    : Symbol -- nil   /home/dan/src/M2/1.2/Macaulay2/packages/Parsing.m2:56:18-56:20