/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc8/ |
D | statement.hpp | 18 struct statement : qi::grammar<Iterator, ast::statement_list(), ascii::space_type> 23 qi::rule<Iterator, ast::statement_list(), ascii::space_type> 26 qi::rule<Iterator, ast::statement(), ascii::space_type> statement_; 27 qi::rule<Iterator, ast::variable_declaration(), ascii::space_type> variable_declaration; 28 qi::rule<Iterator, ast::assignment(), ascii::space_type> assignment; 29 qi::rule<Iterator, ast::if_statement(), ascii::space_type> if_statement; 30 qi::rule<Iterator, ast::while_statement(), ascii::space_type> while_statement; 31 qi::rule<Iterator, std::string(), ascii::space_type> identifier;
|
D | expression.hpp | 38 struct expression : qi::grammar<Iterator, ast::expression(), ascii::space_type> 42 qi::rule<Iterator, ast::expression(), ascii::space_type> 47 qi::rule<Iterator, ast::operand(), ascii::space_type> 51 qi::rule<Iterator, std::string(), ascii::space_type>
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc7/ |
D | expression.hpp | 38 struct expression : qi::grammar<Iterator, ast::expression(), ascii::space_type> 42 qi::rule<Iterator, ast::expression(), ascii::space_type> expr; 43 qi::rule<Iterator, ast::expression(), ascii::space_type> additive_expr; 44 qi::rule<Iterator, ast::expression(), ascii::space_type> multiplicative_expr; 45 qi::rule<Iterator, ast::operand(), ascii::space_type> unary_expr; 46 qi::rule<Iterator, ast::operand(), ascii::space_type> primary_expr; 47 qi::rule<Iterator, std::string(), ascii::space_type> identifier;
|
D | statement.hpp | 18 struct statement : qi::grammar<Iterator, ast::statement_list(), ascii::space_type> 23 qi::rule<Iterator, ast::statement_list(), ascii::space_type> statement_list; 24 qi::rule<Iterator, ast::variable_declaration(), ascii::space_type> variable_declaration; 25 qi::rule<Iterator, ast::assignment(), ascii::space_type> assignment; 26 qi::rule<Iterator, std::string(), ascii::space_type> identifier;
|
/third_party/boost/libs/spirit/workbench/qi/ |
D | keywords.cpp | 146 struct permutation_parser : qi::grammar<Iterator, parsedData(), ascii::space_type> 178 qi::rule<Iterator, std::string(), ascii::space_type> quoted_string; 179 qi::rule<Iterator, parsedDataOptions(), ascii::space_type> options; 180 qi::rule<Iterator, std::vector<int>(), ascii::space_type> v_vals; 182 qi::rule<Iterator, parsedData(), ascii::space_type> start; 186 struct alternative_parser : qi::grammar<Iterator, parsedData2(), ascii::space_type> 213 qi::rule<Iterator, std::string(), ascii::space_type> quoted_string; 214 qi::rule<Iterator, void(parsedData2 & ), ascii::space_type> options; 215 qi::rule<Iterator, parsedData2(), ascii::space_type> start; 221 struct tst_parser : qi::grammar<Iterator, parsedData2(), ascii::space_type> [all …]
|
/third_party/boost/libs/spirit/test/karma/ |
D | pattern1.cpp | 66 karma::rule<outiter_type, space_type, fusion::vector<char, int, double>()> start; in main() 72 karma::rule<outiter_type, space_type, char()> a; in main() 73 karma::rule<outiter_type, space_type, int()> b; in main() 74 karma::rule<outiter_type, space_type, double()> c; in main() 97 karma::rule<outiter_type, space_type, fusion::vector<char, int, double>()> in main() 102 karma::rule<outiter_type, space_type, char()> a = char_ << eps; in main() 103 karma::rule<outiter_type, space_type, int()> b = int_; in main() 104 karma::rule<outiter_type, space_type, double()> c = double_; in main()
|
D | pattern2.cpp | 41 karma::rule<outiter_type, space_type, locals<std::string> > start; in main() 68 karma::rule<outiter_type, space_type, var_type()> d, start; in main() 111 karma::rule<outiter_type, space_type, var_type()> d, start; in main() 140 using boost::spirit::karma::space_type; in main() 143 karma::rule<outiter_type, space_type, int()> r2 = int_; in main()
|
D | pattern4.cpp | 55 karma::rule<outiter_type, space_type, void(char, int, double)> start; in main() 64 karma::rule<outiter_type, space_type, void(char)> a; in main() 65 karma::rule<outiter_type, space_type, void(int)> b; in main() 66 karma::rule<outiter_type, space_type, void(double)> c; in main() 93 karma::rule<outiter_type, space_type> a, b, c, start; in main()
|
D | pattern3.cpp | 53 karma::rule<outiter_type, space_type> start; in main() 61 karma::rule<outiter_type, space_type> a, b, c; in main() 89 karma::rule<outiter_type, space_type, var_type()> start; in main() 112 karma::rule<outiter_type, space_type, vector<int>()> r = int_; in main()
|
/third_party/boost/libs/spirit/example/qi/ |
D | nabialek.cpp | 35 Iterator, ascii::space_type, qi::locals<qi::rule<Iterator, ascii::space_type>*> > 57 qi::rule<Iterator, ascii::space_type> id, one, two; 58 … qi::rule<Iterator, ascii::space_type, qi::locals<qi::rule<Iterator, ascii::space_type>*> > start; 59 qi::symbols<char, qi::rule<Iterator, ascii::space_type>*> keyword;
|
D | mini_xml1.cpp | 135 struct mini_xml_grammar : qi::grammar<Iterator, mini_xml(), ascii::space_type> 171 qi::rule<Iterator, mini_xml(), ascii::space_type> xml; 172 qi::rule<Iterator, mini_xml_node(), ascii::space_type> node; 173 qi::rule<Iterator, std::string(), ascii::space_type> text; 174 qi::rule<Iterator, std::string(), ascii::space_type> start_tag; 175 qi::rule<Iterator, void(std::string), ascii::space_type> end_tag;
|
D | mini_xml2.cpp | 132 : qi::grammar<Iterator, mini_xml(), qi::locals<std::string>, ascii::space_type> 166 qi::rule<Iterator, mini_xml(), qi::locals<std::string>, ascii::space_type> xml; 167 qi::rule<Iterator, mini_xml_node(), ascii::space_type> node; 168 qi::rule<Iterator, std::string(), ascii::space_type> text; 169 qi::rule<Iterator, std::string(), ascii::space_type> start_tag; 170 qi::rule<Iterator, void(std::string), ascii::space_type> end_tag;
|
D | mini_xml3.cpp | 133 : qi::grammar<Iterator, mini_xml(), qi::locals<std::string>, ascii::space_type> 190 qi::rule<Iterator, mini_xml(), qi::locals<std::string>, ascii::space_type> xml; 191 qi::rule<Iterator, mini_xml_node(), ascii::space_type> node; 192 qi::rule<Iterator, std::string(), ascii::space_type> text; 193 qi::rule<Iterator, std::string(), ascii::space_type> start_tag; 194 qi::rule<Iterator, void(std::string), ascii::space_type> end_tag;
|
D | calc_utree_naive.cpp | 47 struct calculator : qi::grammar<Iterator, ascii::space_type, spirit::utree()> 80 qi::rule<Iterator, ascii::space_type, spirit::utree()> expression; 81 qi::rule<Iterator, ascii::space_type, spirit::utree::list_type()> term; 82 qi::rule<Iterator, ascii::space_type, spirit::utree::list_type()> factor;
|
/third_party/boost/libs/spirit/example/karma/ |
D | calc2_ast_dump.cpp | 37 : qi::grammar<Iterator, expression_ast(), space_type> 63 qi::rule<Iterator, expression_ast(), space_type> expression, term, factor; 89 : karma::grammar<OuputIterator, expression_ast(), space_type> 98 karma::rule<OuputIterator, expression_ast(), space_type> ast_node; 99 karma::rule<OuputIterator, binary_op(), space_type> binary_node; 100 karma::rule<OuputIterator, unary_op(), space_type> unary_node;
|
D | calc2_ast_rpn.cpp | 37 : qi::grammar<Iterator, expression_ast(), space_type> 63 qi::rule<Iterator, expression_ast(), space_type> expression, term, factor; 90 : karma::grammar<OuputIterator, expression_ast(), space_type> 99 karma::rule<OuputIterator, expression_ast(), space_type> ast_node; 100 karma::rule<OuputIterator, binary_op(), space_type> binary_node; 101 karma::rule<OuputIterator, unary_op(), space_type> unary_node;
|
D | mini_xml_karma.cpp | 74 qi::grammar<Iterator, mini_xml(), space_type> 101 qi::rule<Iterator, mini_xml(), space_type> xml; 102 qi::rule<Iterator, mini_xml_node(), space_type> node; 103 qi::rule<Iterator, std::string(), space_type> text; 104 qi::rule<Iterator, std::string(), space_type> start_tag; 105 qi::rule<Iterator, void(std::string), space_type> end_tag;
|
/third_party/boost/libs/spirit/test/qi/ |
D | grammar.cpp | 24 using boost::spirit::ascii::space_type; 33 struct num_list : grammar<char const*, space_type> 42 rule<char const*, space_type> start, num; 45 struct inh_g : grammar<char const*, int(int), space_type> 52 rule<char const*, int(int), space_type> start, num;
|
D | regression_reorder.cpp | 28 using ascii::space_type; in main() 44 qi::rule<iterator_type, optional<double>(), space_type> u,v,w; in main() 45 qi::rule<iterator_type, uvw_reordered_type(), space_type> uvw; in main() 46 qi::rule<iterator_type, vwu_reordered_type(), space_type> vwu; in main()
|
/third_party/boost/libs/spirit/repository/example/karma/ |
D | mini_xml_karma_sr.cpp | 81 qi::grammar<Iterator, mini_xml(), space_type> 108 qi::rule<Iterator, mini_xml(), space_type> xml; 109 qi::rule<Iterator, mini_xml_node(), space_type> node; 110 qi::rule<Iterator, std::string(), space_type> text; 111 qi::rule<Iterator, std::string(), space_type> start_tag; 112 qi::rule<Iterator, void(std::string), space_type> end_tag;
|
D | calc2_ast_dump_sr.cpp | 40 : qi::grammar<Iterator, expression_ast(), space_type> 66 qi::rule<Iterator, expression_ast(), space_type> expression, term, factor; 92 : karma::grammar<OuputIterator, expression_ast(), space_type> 107 karma::rule<OuputIterator, expression_ast(), space_type> entry;
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/ |
D | calc4.cpp | 195 struct calculator : qi::grammar<Iterator, ast::program(), ascii::space_type> 224 qi::rule<Iterator, ast::program(), ascii::space_type> expression; 225 qi::rule<Iterator, ast::program(), ascii::space_type> term; 226 qi::rule<Iterator, ast::operand(), ascii::space_type> factor; 260 boost::spirit::ascii::space_type space; in main()
|
D | calc1.cpp | 39 struct calculator : qi::grammar<Iterator, ascii::space_type> 67 qi::rule<Iterator, ascii::space_type> expression, term, factor; 85 boost::spirit::ascii::space_type space; // Our skipper in main()
|
D | calc5.cpp | 236 struct calculator : qi::grammar<Iterator, ast::program(), ascii::space_type> 279 qi::rule<Iterator, ast::program(), ascii::space_type> expression; 280 qi::rule<Iterator, ast::program(), ascii::space_type> term; 281 qi::rule<Iterator, ast::operand(), ascii::space_type> factor; 315 boost::spirit::ascii::space_type space; in main()
|
D | calc2.cpp | 54 struct calculator : qi::grammar<Iterator, ascii::space_type> 82 qi::rule<Iterator, ascii::space_type> expression, term, factor; 100 boost::spirit::ascii::space_type space; // Our skipper in main()
|