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 an older version of Boost and was released in 2018. The current version is 1.89.0.
NaryLexer is a composite lexer component that has
one or more subjects. The NaryLexer allows its subjects to be treated
in the same way as a single instance of a Lexer following the Composite
Design Pattern.
Notation
lA NaryLexer.
LA NaryLexer type.
In addition to the requirements defined in Lexer, for any NaryLexer 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 NaryLexer, L,
the following invariant always holds:
traits::is_lexer<E>::type evaluates to mpl::true_
The following lexer components conform to this model:
FIXME Add more links to models of NaryLexer concept