Macaulay2 » Documentation
Packages » Parsing » Parser » nullParser
next | previous | forward | backward | up | index | toc

nullParser -- a terminal parser that returns the value nil

Code

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

See also

For the programmer

The object nullParser is a parser.


The source of this document is in Parsing.m2:306:0.