Home
last modified time | relevance | path

Searched defs:example6_grammar (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/libs/spirit/example/lex/
Dexample6.cpp110 struct example6_grammar struct
114 example6_grammar(TokenDef const& tok) in example6_grammar() argument
168 typedef boost::variant<unsigned int, std::string> expression_type;
170 qi::rule<Iterator, qi::in_state_skipper<Lexer> > program, block, statement;
171 qi::rule<Iterator, qi::in_state_skipper<Lexer> > assignment, if_stmt;
172 qi::rule<Iterator, qi::in_state_skipper<Lexer> > while_stmt;
175 qi::rule<Iterator, expression_type(), qi::in_state_skipper<Lexer> > expression;
211 typedef example6_grammar<iterator_type, example6_tokens::lexer_def> example6_grammar; in main() typedef