]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | [#before_4_1] |
2 | ['Definitions before section 4.1.] | |
3 | ||
4 | #include <boost/metaparse/string.hpp> | |
5 | #include <boost/metaparse/int_.hpp> | |
6 | ||
7 | #include <boost/metaparse/build_parser.hpp> | |
8 | ||
9 | using namespace boost::metaparse; | |
10 | ||
11 | using exp_parser1 = build_parser<int_>; | |
12 | #include <boost/metaparse/entire_input.hpp> | |
13 | ||
14 | using exp_parser2 = build_parser<entire_input<int_>>; | |
15 | #include <boost/metaparse/token.hpp> | |
16 | ||
17 | using exp_parser3 = build_parser<entire_input<token<int_>>>; | |
18 | #include <boost/metaparse/lit_c.hpp> | |
19 | ||
20 | #include <boost/metaparse/sequence.hpp> | |
21 | ||
22 | using exp_parser4 = build_parser<sequence<token<int_>, token<lit_c<'+'>>, token<int_>>>; | |
23 | ||
24 | #include <metashell/formatter.hpp> | |
25 | ||
26 |