Home
last modified time | relevance | path

Searched refs:rule_t (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/libs/spirit/classic/example/techniques/
Dnabialek.cpp46 typedef rule<ScannerT> rule_t; typedef
48 rule_t name;
49 rule_t line;
50 rule_t rest;
51 rule_t main;
52 rule_t one;
53 rule_t two;
55 symbols<rule_t*> continuations;
69 line = continuations[SetRest<rule_t>(rest)] >> rest; in definition()
80 rule_t const&
Dright_recursion.cpp22 typedef rule<ScannerT> rule_t; typedef
23 rule_t r;
31 rule_t const&
44 typedef rule<ScannerT> rule_t; typedef
45 rule_t r;
53 rule_t const&
/third_party/boost/libs/spirit/classic/test/
Ddistinct_tests.cpp22 rule_t; typedef
31 rule_t r = distinct_p("keyword") >> !ch_p('-') >> int_p; in distinct_parser_test()
40 rule_t r = distinct_p("keyword") >> !ch_p('-') >> int_p; in distinct_parser_test()
61 rule_t r = distinct_p("keyword") >> !str_p("--") >> int_p; in distinct_parser_test()
76 rule_t r = distinct_d["keyword"] >> !ch_p('-') >> int_p; in distinct_directive_test()
82 rule_t r = distinct_d[str_p("keyword")] >> !ch_p('-') >> int_p; in distinct_directive_test()
93 rule_t r = distinct_d["keyword"] >> !ch_p('-') >> int_p; in distinct_directive_test()
101 rule_t r = distinct_d[str_p("keyword")] >> !ch_p('-') >> int_p; in distinct_directive_test()
124 rule_t r = distinct_d["keyword"] >> !str_p("--") >> int_p; in distinct_directive_test()
132 rule_t r = distinct_d[str_p("keyword")] >> !str_p("--") >> int_p; in distinct_directive_test()
[all …]
Dif_tests.cpp43 typedef ::BOOST_SPIRIT_CLASSIC_NS::rule<> rule_t; typedef
55 rule_t hex_prefix;
57 rule_t hex_rule, oct_rule, dec_rule;
59 rule_t auto_number_rule;
60 rule_t hex_or_dec_number_rule;
63 test_number(char const *s, unsigned int wanted, rule_t const &r) in test_number()
212 rule_t r = if_p(::BOOST_SPIRIT_CLASSIC_NS::eps_p('0'))[oct_rule]; in main()
Dfor_tests.cpp67 typedef ::BOOST_SPIRIT_CLASSIC_NS::rule<> rule_t; typedef
80 rule_t for_rule;
81 rule_t for_rule2;
88 rule_t const &r, in test_for()
Dwhile_tests.cpp67 typedef BOOST_SPIRIT_CLASSIC_NS::rule<> rule_t; typedef
78 rule_t while_rule;
79 rule_t do_while_rule;
85 rule_t const &r, in test_while()
Dswitch_problem.cpp38 typedef spirit::rule<ScannerT> rule_t; typedef
39 rule_t const & start() const { return expression; } in start()
42 rule_t expression;
Dmulti_pass_compile_tests.cpp45 typedef rule<scanner_t> rule_t; in main() typedef
53 rule_t n_list = real_p >> *(',' >> real_p); in main()
Dconfix_tests.cpp22 rule_t; typedef
26 rule_t r = comment_nest_p('{', '}'); in comment_nest_p_test()
/third_party/boost/boost/wave/grammars/
Dcpp_has_include_grammar.hpp66 typedef boost::spirit::classic::rule<ScannerT> rule_t; typedef
68 rule_t has_include_op;
69 rule_t system_include;
70 rule_t nonsystem_include;
71 rule_t computed_include;
132 rule_t const& start() const in start()
Dcpp_expression_grammar.hpp309 typedef boost::spirit::classic::rule<ScannerT, closure_type::context_t> rule_t; typedef
314 rule_t const_exp;
315 rule_t logical_or_exp, logical_and_exp;
316 rule_t inclusive_or_exp, exclusive_or_exp, and_exp;
317 rule_t cmp_equality, cmp_relational;
318 rule_t shift_exp;
319 rule_t add_exp, multiply_exp;
320 rule_t unary_exp, primary_exp, constant;
322 rule_t const_exp_nocalc;
323 rule_t logical_or_exp_nocalc, logical_and_exp_nocalc;
[all …]
Dcpp_defined_grammar.hpp61 typedef boost::spirit::classic::rule<ScannerT> rule_t; typedef
63 rule_t defined_op;
64 rule_t identifier;
108 rule_t const& start() const in start()
Dcpp_intlit_grammar.hpp75 typedef boost::spirit::classic::rule<ScannerT> rule_t; typedef
77 rule_t int_lit;
133 rule_t const& start() const in start()
Dcpp_chlit_grammar.hpp150 rule_t; typedef
152 rule_t ch_lit;
278 rule_t const& start() const in start()
/third_party/boost/libs/spirit/classic/example/fundamental/distinct/
Ddistinct_parser.cpp32 typedef rule<ScannerT> rule_t; typedef
44 rule_t top;
46 rule_t const& start() const in start()
Ddistinct_parser_dynamic.cpp24 typedef rule<ScannerT> rule_t; typedef
40 rule_t top;
42 rule_t const& start() const in start()
/third_party/boost/boost/graph/detail/
Dread_graphviz_spirit.hpp285 typedef boost::spirit::classic::rule< ScannerT > rule_t; typedef
287 rule_t const& start() const { return the_grammar; } in start()
552 rule_t port_location;
553 rule_t port_angle;
554 rule_t port;
561 rule_t attr_stmt;
568 rule_t edgeop;
569 rule_t edgeRHS;
570 rule_t stmt;
571 rule_t stmt_list;
[all …]
/third_party/boost/libs/spirit/classic/example/intermediate/
Dparameters.cpp185 typedef rule<ScannerT, var_decl_closure::context_t> rule_t; typedef
186 rule_t type;
187 rule_t list;
188 rule_t ident;
Dlazy_parser.cpp55 typedef rule<ScannerT> rule_t; typedef
75 rule_t block_item;
/third_party/boost/boost/archive/impl/
Dbasic_xml_grammar.hpp82 typedef typename boost::spirit::classic::rule<scanner_t> rule_t; typedef in boost::archive::basic_xml_grammar
84 rule_t
142 const rule_t &rule_,
/third_party/boost/libs/spirit/classic/example/fundamental/
Dfile_parser.cpp33 typedef rule<scanner_t> rule_t; typedef
73 rule_t r = *(anychar_p); in main()
Dphoenix_calc.cpp75 typedef rule<ScannerT, calc_closure::context_t> rule_t; typedef
76 rule_t expression, term, factor;
Dparse_tree_calc1.cpp44 typedef rule<scanner_t> rule_t; typedef
47 rule_t expression, term, factor, integer;
/third_party/boost/libs/spirit/classic/example/fundamental/more_calculators/
Drpn_calc.cpp106 typedef rule<ScannerT, calc_closure::context_t> rule_t; typedef
107 rule_t expr;
Dast_calc2.cpp32 typedef rule<scanner_t> rule_t; typedef
36 rule_t expression, term, factor, integer;

12