Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
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

expect[a]

A

Throw an exception if parsing a fails

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

]


PrevUpHomeNext