...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The eoi
parser matches
the end of input (returns a successful match with 0 length when the input
is exhausted)
// forwards to <boost/spirit/home/qi/auxiliary/eoi.hpp> #include <boost/spirit/include/qi_eoi.hpp>
Also, see Include Structure.
Name |
---|
|
Semantics of an expression is defined only where it differs from, or
is not defined in PrimitiveParser
.
Expression |
Semantics |
---|---|
|
Create a parser that matches the end of input. |
Expression |
Attribute |
---|---|
|
|
O(1)
Note | |
---|---|
The test harness for the example(s) below is presented in the Basics Examples section. |
Some using declarations:
using boost::spirit::qi::eoi;
Using eoi
:
test_parser("", eoi);