![]() |
Home | Libraries | People | FAQ | More |
NaryParser is a composite parser that has one or
more subjects. The NaryParser allows its subjects to be treated in the
same way as a single instance of a Parser following the Composite
Design Pattern.
Notation
pA NaryParser.
PA NaryParser type.
In addition to the requirements defined in Parser, for any NaryParser the
following must be met:
|
Expression |
Semantics |
Return type |
|---|---|---|
|
|
The tuple of elements. |
A Boost.Fusion
Sequence of |
|
Expression |
Description |
|---|---|
|
|
Elements tuple type. |
|
|
Metafunction that evaluates to |
For each element, E,
in any NaryParser, P,
the following invariant always holds:
traits::is_parser<E>::type evaluates to mpl::true_