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

nullParser -- a terminal parser that returns the value nil

See also

Code

-- ../../../../../Macaulay2/packages/Parsing.m2:55
terminalParser = val -> new Parser from (c -> if c === null then val)
| symbol   class     value location of symbol
| ------   -----     ----- ------------------                                      
| val    : Symbol -- nil   ../../../../../Macaulay2/packages/Parsing.m2:55:17-55:17