i1 : (ZZParser : charAnalyzer) "123456789" o1 = 123456789 |
i2 : (ZZParser : charAnalyzer) "-123456789" o2 = -123456789 |
i3 : class oo o3 = ZZ o3 : Ring |
../Parsing.m2:91:53-91:122: --source code:
Function % Parser := (fun,p) -> new Parser from ( c -> if (p' := p c) =!= null then if c === null then fun p' else fun % p' )
| symbol class value location of symbol
| ------ ----- ----- ------------------
| fun : CompiledFunction -- times ../Parsing.m2:91:23-91:25
| p : Parser -- {*Function[../Parsing.m2:118:7-124:84]*} ../Parsing.m2:91:27-91:27