Auxiliary Parsers

| Home | Libraries | People | FAQ | More

##### Auxiliary Parsers

Expression | Attribute | Description
--- | --- | ---
`eol` | `Unused` | Matches the end of line (`\r` or `\n` or `\r\n`)
`eoi` | `Unused` | Matches the end of input (first == last)
`eps` | `Unused` | Match an empty string
`eps``(b)` | `Unused` | If `b` is true, match an empty string
`lazy``(fp)` | Attribute of `P` where `P` is the return type of `fp` | Invoke `fp` at parse time, returning a parser `p` which is then called to parse.
`fp` | see `lazy(fp)` above | Equivalent to `lazy(fp)`
`attr(attrib)` | `Attrib` | Doesn't consume/parse any input, but exposes the argument `attrib` as its attribute.