Home
last modified time | relevance | path

Searched refs:space_type (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc8/
Dstatement.hpp18 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;
Dexpression.hpp38 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/
Dexpression.hpp38 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;
Dstatement.hpp18 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/
Dkeywords.cpp146 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/
Dpattern1.cpp66 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()
Dpattern2.cpp41 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()
Dpattern4.cpp55 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()
Dpattern3.cpp53 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/
Dnabialek.cpp35 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;
Dmini_xml1.cpp135 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;
Dmini_xml2.cpp132 : 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;
Dmini_xml3.cpp133 : 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;
Dcalc_utree_naive.cpp47 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/
Dcalc2_ast_dump.cpp37 : 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;
Dcalc2_ast_rpn.cpp37 : 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;
Dmini_xml_karma.cpp74 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/
Dgrammar.cpp24 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;
Dregression_reorder.cpp28 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/
Dmini_xml_karma_sr.cpp81 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;
Dcalc2_ast_dump_sr.cpp40 : 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/
Dcalc4.cpp195 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()
Dcalc1.cpp39 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()
Dcalc5.cpp236 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()
Dcalc2.cpp54 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()

1234