/third_party/boost/libs/wave/samples/hannibal/ |
D | translation_unit_parser.h | 129 struct definition struct 132 typedef boost::spirit::classic::rule<ScannerT> rule_type; 134 rule_type constant_expression; 135 rule_type logical_or_exp, logical_and_exp; 136 rule_type inclusive_or_exp, exclusive_or_exp, and_exp; 137 rule_type cmp_equality, cmp_relational; 138 rule_type shift_exp; 139 rule_type add_exp, multiply_exp; 140 rule_type unary_exp, primary_exp, constant; 142 boost::spirit::classic::subrule<0> const_exp_subrule; [all …]
|
/third_party/boost/libs/spirit/classic/test/ |
D | switch_tests_general_def.cpp | 41 struct definition struct 43 definition(switch_grammar_direct_default1 const& /*self*/) in definition() function 53 rule<ScannerT> r; 54 rule<ScannerT> const& start() const { return r; } in start() 62 struct definition struct 64 definition(switch_grammar_direct_default2 const& /*self*/) in definition() function 74 rule<ScannerT> r; 75 rule<ScannerT> const& start() const { return r; } in start() 83 struct definition struct 85 definition(switch_grammar_direct_default3 const& /*self*/) in definition() function [all …]
|
D | switch_tests_eps_default.cpp | 41 struct definition struct 43 definition(switch_grammar_direct_default4 const& /*self*/) in definition() function 53 rule<ScannerT> r; 54 rule<ScannerT> const& start() const { return r; } in start() 62 struct definition struct 64 definition(switch_grammar_direct_default5 const& /*self*/) in definition() argument 74 rule<ScannerT> r; 75 rule<ScannerT> const& start() const { return r; } in start() 83 struct definition struct 85 definition(switch_grammar_direct_default6 const& /*self*/) in definition() function [all …]
|
D | switch_tests_single.cpp | 41 struct definition struct 43 definition(switch_grammar_direct_single const& /*self*/) in definition() argument 50 rule<ScannerT> r; 51 rule<ScannerT> const& start() const { return r; } in start() 59 struct definition struct 61 definition(switch_grammar_direct_default_single1 const& /*self*/) in definition() function 68 rule<ScannerT> r; 69 rule<ScannerT> const& start() const { return r; } in start() 77 struct definition struct 79 definition(switch_grammar_direct_default_single2 const& /*self*/) in definition() function [all …]
|
D | repeat_ast_tests.cpp | 31 struct definition struct 33 definition(grammar_fail const& /*self */) in definition() function 40 rule<ScannerT, parser_context<>, parser_tag<numID> > num; 41 rule<ScannerT, parser_context<>, parser_tag<funcID> > func; 42 typedef rule<ScannerT, parser_context<>, parser_tag<expressionID> > expr_t; 43 expr_t expression; 44 expr_t const& start() const { return expression; } in start() 50 struct definition struct 52 definition(grammar_success const& /*self */) in definition() argument 59 rule<ScannerT, parser_context<>, parser_tag<numID> > num; [all …]
|
D | mix_and_match_trees.cpp | 27 struct definition struct 40 > ast_scanner; 53 > pt_scanner; 55 typedef rule<ast_scanner> ast_rule; 56 typedef rule<pt_scanner> pt_rule; 57 typedef rule<Scanner> rule_; 59 definition(my_grammar const & /* self */) in definition() function 65 rule_ const & start() const in start() 70 rule_ start_; 71 ast_rule ast_rule_; [all …]
|
D | switch_tests_wo_default.cpp | 40 struct definition struct 42 definition(switch_grammar_direct const& /*self*/) in definition() argument 52 rule<ScannerT> r; 53 rule<ScannerT> const& start() const { return r; } in start() 62 struct definition struct 64 definition(switch_grammar_parser const& /*self*/) in definition() function 74 rule<ScannerT> r; 75 rule<ScannerT> const& start() const { return r; } in start() 89 struct definition struct 91 definition(switch_grammar_actor const& /*self*/) in definition() argument [all …]
|
D | grammar_def_test.cpp | 17 struct definition struct 23 definition(my_grammar1 const &) in definition() function 35 start_rule1, 36 start_rule2; 49 struct definition struct 55 definition(my_grammar2 const &) in definition() argument 67 start_rule1, 68 start_rule2;
|
D | grammar_tests.cpp | 33 struct definition struct 36 definition(num_list const& /*self*/) in definition() argument 47 rule<ScannerT> r, num; 49 rule<ScannerT> const& start() const { return r; } in start() 62 struct definition struct 65 definition(num_list_ex const& /*self*/) in definition() function 76 rule<ScannerT> r, num; 77 int_parser<int, 10, 1, -1> integer; 79 rule<ScannerT> const& start() const { return r; } in start()
|
D | ast_calc_tests.cpp | 37 struct definition struct 39 definition(calculator const& /*self*/) in definition() argument 61 rule<ScannerT, parser_context<>, parser_tag<expressionID> > expression; 62 rule<ScannerT, parser_context<>, parser_tag<termID> > term; 63 rule<ScannerT, parser_context<>, parser_tag<factorID> > factor; 64 rule<ScannerT, parser_context<>, parser_tag<integerID> > integer; 67 start() const { return expression; } in start() 84 struct definition struct 86 definition(dyn_calculator const& /*self*/) in definition() function 113 rule<ScannerT, parser_context<>, dynamic_parser_tag> expression; [all …]
|
D | select_p_with_rule.cpp | 25 struct definition struct 27 definition(format_grammar const& /*self*/) in definition() argument 62 rule<ScannerT> descriptor_list; 63 rule<ScannerT> format_descriptor; 64 rule<ScannerT> E_descriptor; 65 rule<ScannerT> EN_descriptor; 67 rule<ScannerT> const& start() const in start()
|
/third_party/boost/boost/graph/detail/ |
D | read_graphviz_spirit.hpp | 155 template < class ScannerT > struct definition struct 158 definition(dot_grammar const& self) in definition() argument 285 typedef boost::spirit::classic::rule< ScannerT > rule_t; 287 rule_t const& start() const { return the_grammar; } in start() 293 void check_undirected() in check_undirected() 299 void check_directed() in check_directed() 305 void memoize_node() in memoize_node() 348 void activate_edge(nodes_t& sources, nodes_t& dests, in activate_edge() 396 void node_prop(id_t const& key, id_t const& value) in node_prop() 403 void edge_prop(id_t const& key, id_t const& value) in edge_prop() [all …]
|
/third_party/boost/libs/property_tree/examples/ |
D | info_grammar_spirit.cpp | 23 struct definition struct 26 … boost::spirit::rule<typename boost::spirit::lexeme_scanner<Scanner>::type> chr, qchr, escape_seq; 27 boost::spirit::rule<Scanner> string, qstring, cstring, key, value, entry, info; 29 definition(const info_grammar &self) in definition() argument 58 const boost::spirit::rule<Scanner> &start() const in start()
|
/third_party/boost/tools/quickbook/src/ |
D | syntax_highlight.cpp | 207 template <typename Scanner> struct definition struct 209 definition(cpp_highlight const& self) in definition() function 356 cl::rule<Scanner> program, line_start, rest_of_line, macro, 357 preprocessor, inline_callout, line_callout, comment, special, 358 string_, char_, number, identifier, keyword, escape, 359 string_char; 361 quickbook_grammar& g; 363 cl::rule<Scanner> const& start() const { return program; } in start() 379 template <typename Scanner> struct definition struct 381 definition(python_highlight const& self) in definition() function [all …]
|
/third_party/boost/libs/spirit/classic/example/techniques/ |
D | right_recursion.cpp | 20 struct definition struct 22 typedef rule<ScannerT> rule_t; 23 rule_t r; 25 definition(non_greedy_kleene const& self) in definition() argument 32 start() const in start() 42 struct definition struct 44 typedef rule<ScannerT> rule_t; 45 rule_t r; 47 definition(non_greedy_plus const& self) in definition() argument 54 start() const in start()
|
D | nabialek.cpp | 44 struct definition struct 46 typedef rule<ScannerT> rule_t; 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; 57 definition(nabialek_trick const& self) in definition() function [all …]
|
D | multiple_scanners.cpp | 25 struct definition struct 27 definition(my_grammar const& self) in definition() function 37 > scanners; 39 rule<scanners> r; 40 rule<ScannerT> rr; 41 rule<ScannerT> const& start() const { return rr; } in start()
|
/third_party/boost/libs/spirit/classic/example/intermediate/ |
D | lazy_parser.cpp | 53 struct definition struct 55 typedef rule<ScannerT> rule_t; 56 typedef stored_rule<ScannerT, parser_context<int> > number_rule_t; 63 closure_base_t; 65 struct block_closure : closure_base_t 72 typedef rule<ScannerT, typename block_closure::context_t> block_rule_t; 74 block_rule_t block; 75 rule_t block_item; 76 symbols<number_rule_t> base; 78 definition(my_grammar const& self) in definition() argument [all …]
|
/third_party/boost/boost/wave/grammars/ |
D | cpp_expression_grammar.hpp | 306 struct definition struct 308 typedef closures::cpp_expr_closure closure_type; 309 typedef boost::spirit::classic::rule<ScannerT, closure_type::context_t> rule_t; 310 typedef boost::spirit::classic::rule<ScannerT> simple_rule_t; 312 simple_rule_t pp_expression; 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; [all …]
|
D | cpp_grammar.hpp | 165 struct definition struct 168 typedef typename ScannerT::iteration_policy_t iteration_policy_t; 169 typedef boost::spirit::classic::match_policy match_policy_t; 170 typedef typename ScannerT::action_policy_t action_policy_t; 174 policies_t; 177 non_tree_scanner_t; 181 no_tree_rule_type; 187 rule_type; 189 rule_type pp_statement, macro_include_file; 191 rule_type plain_define, macro_definition, macro_parameters; [all …]
|
/third_party/boost/libs/spirit/classic/example/intermediate/simple_xml/ |
D | xml_g.hpp | 85 struct definition struct 87 definition(const xml_g &s) in definition() argument 165 push_back_f push_back; 166 push_child_f push_child; 167 store_in_map_f store_in_map; 168 store_tag_f store_tag; 170 SP::rule<Scan,tagged_cls::context_t> tagged; 171 SP::rule<Scan> end_tag; 172 SP::rule<Scan> inner; 173 SP::rule<Scan,str_cls::context_t> str; [all …]
|
/third_party/boost/libs/spirit/classic/example/fundamental/ |
D | phoenix_calc.cpp | 47 struct definition struct 49 definition(calculator const& self) in definition() argument 75 typedef rule<ScannerT, calc_closure::context_t> rule_t; 76 rule_t expression, term, factor; 77 rule<ScannerT> top; 80 start() const { return top; } in start()
|
D | tree_calc_grammar.hpp | 34 struct definition struct 36 definition(calculator const& /*self*/) in definition() function 65 rule<ScannerT, parser_context<>, parser_tag<expressionID> > expression; 66 rule<ScannerT, parser_context<>, parser_tag<termID> > term; 67 rule<ScannerT, parser_context<>, parser_tag<factorID> > factor; 68 rule<ScannerT, parser_context<>, parser_tag<integerID> > integer; 71 start() const { return expression; } in start()
|
/third_party/boost/libs/spirit/classic/example/fundamental/distinct/ |
D | distinct_parser_dynamic.cpp | 22 struct definition struct 24 typedef rule<ScannerT> rule_t; 27 dynamic_distinct_parser<ScannerT> keyword_p; 29 definition(my_grammar const& self) in definition() function 40 rule_t top; 42 rule_t const& start() const in start()
|
/third_party/boost/libs/spirit/classic/example/fundamental/more_calculators/ |
D | phoenix_subrule_calc.cpp | 51 struct definition struct 53 definition(calculator const& self) in definition() function 83 subrule<0, calc_closure::context_t> expression; 84 subrule<1, calc_closure::context_t> term; 85 subrule<2, calc_closure::context_t> factor; 87 rule<ScannerT> top; 90 start() const { return top; } in start()
|