Parser Directives

| Home | Libraries | People | FAQ | More

##### Parser Directives

Expression | Attribute | Description
--- | --- | ---
`lexeme``[a]` | `A` | Disable skip parsing for `a`, does pre-skipping
`no_skip[a]` | `A` | Disable skip parsing for `a`, no pre-skipping
`no_case``[a]` | `A` | Inhibits case-sensitivity for `a`
`omit``[a]` | `Unused` | Ignores the attribute type of `a`
`matches``[a]` | `bool` | Return if the embedded parser `a` matched its input
`as<T>[]``()[a]` | `A` | Force atomic assignment for arbitrary attribute types
`as_string[]``[a]` | `A` | Force atomic assignment for string attributes
`as_wstring[]``[a]` | `A` | Force atomic assignment for wide character string attributes
`raw``[a]` | `boost::iterator_range``<I>` | Presents the transduction of `a` as an iterator range
`repeat[a]` | `vector<A>` | Repeat `a` zero or more times
`repeat(N)[a]` | `vector<A>` | Repeat `a` `N` times
`repeat(N, M)[a]` | `vector<A>` | Repeat `a` `N` to `M` times
`repeat(N, inf)[a]` | `vector<A>` | Repeat `a` `N` or more times
`skip``[a]` | `A` | Re-establish the skipper that got inhibited by lexeme or no_skip.
`skip``(p)[a]` | `A` | Use `p` as a skipper for parsing `a`