The return value is either 1 or -1, depending on the indicated sign.
|
|
|
../Parsing.m2:157:28-157:135: --source code:
optionalSignParser = Parser(c -> if c === null then 1 else if c === "-" then terminalParser(-1) else if c === "+" then terminalParser 1)
The object optionalSignParser is a parser.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Parsing.m2:451:0.