/third_party/boost/boost/spirit/home/lex/lexer/ |
D | token_def.hpp | 49 struct token_def struct 52 lex::reference<token_def<Attribute, Char, Idtype> const, Idtype> 54 , token_def<Attribute, Char, Idtype> > 55 , qi::parser<token_def<Attribute, Char, Idtype> > 56 , lex::lexer_type<token_def<Attribute, Char, Idtype> > 60 typedef lex::reference<token_def const, Idtype> reference_; argument 62 typedef proto::extends<terminal_type, token_def> proto_base_type; argument 170 token_def() in token_def() function 175 token_def(token_def const& rhs) in token_def() argument 180 explicit token_def(char_type def_, Idtype id_ = Idtype()) in token_def() function [all …]
|
/third_party/boost/libs/spirit/test/lex/ |
D | lexertl5.cpp | 19 typedef lex::token_def<std::string> token_def; in main() typedef 45 token_def c_comment ("{CCOMMENT}", CCOMMENT); in main() 46 token_def cpp_comment ("{CPPCOMMENT}", CPPCOMMENT); in main() 47 token_def ws_tok ("{WS}"); in main() 55 lex.self += token_def(' ') | '\t' | ws_tok; in main() 77 token_def c_comment ("{CCOMMENT}", CCOMMENT); in main() 78 token_def cpp_comment ("{CPPCOMMENT}", CPPCOMMENT); in main() 79 token_def ws_tok ("{WS}"); in main()
|
D | lexertl3.cpp | 18 typedef lex::token_def<std::string> token_def; in main() typedef 22 token_def c_comment ("\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/", CCOMMENT); in main() 23 token_def cpp_comment ("\\/\\/[^\\n\\r]*(\\n|\\r|\\r\\n)", CPPCOMMENT); in main() 34 token_def ws_tok ("[\\v\\f\\n\\r]+"); in main() 38 lex.self += token_def(' ') | '\t' | ws_tok; in main() 53 token_def ws_tok ("[\\v\\f\\n\\r]+"); in main() 56 lex.self("WHITESPACE") = token_def(' ') | '\t' | ws_tok; in main()
|
D | lexertl4.cpp | 18 typedef lex::token_def<std::string> token_def; in main() typedef 26 token_def c_comment ("\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/", CCOMMENT); in main() 27 token_def cpp_comment ("\\/\\/[^\\n\\r]*(\\n|\\r|\\r\\n)", CPPCOMMENT); in main() 28 token_def ws_tok ("[\\v\\f\\n\\r]+", TOKEN_ID_WS); in main() 41 token_def ws_tok ("[\\v\\f\\n\\r]+", TOKEN_ID_WS); in main() 48 lex.self += token_def(' ') | '\t' | ws_tok; in main() 63 token_def ws_tok ("[\\v\\f\\n\\r]+", TOKEN_ID_WS); in main()
|
D | lexertl2.cpp | 18 typedef boost::spirit::lex::token_def<std::string> token_def; typedef 31 token_def c_comment, cpp_comment; 38 typedef boost::spirit::lex::token_def<std::basic_string<wchar_t>, wchar_t> 39 token_def; typedef 52 token_def c_comment, cpp_comment;
|
D | lexertl1.cpp | 21 typedef lex::token_def<std::string> token_def; in main() typedef 25 token_def c_comment ("\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/", CCOMMENT); in main() 26 token_def cpp_comment ("\\/\\/[^\\n\\r]*(\\n|\\r|\\r\\n)", CPPCOMMENT); in main() 59 lex.self = token_def('+') | '-' | c_comment; in main() 100 lex.self = token_def('+') | '-' | c_comment; in main()
|
D | regression_syntax_error.cpp | 46 lex::token_def<> ws; 47 lex::token_def<std::string> identifier; 48 lex::token_def<int> integer; 49 lex::token_def<double> real; 50 lex::token_def<> delimiter;
|
D | semantic_actions.cpp | 33 lex::token_def<> identifier; 54 lex::token_def<> identifier; 75 lex::token_def<> identifier; 92 lex::token_def<> identifier; 109 lex::token_def<> identifier; 134 lex::token_def<> identifier; 157 lex::token_def<> identifier; 191 lex::token_def<> identifier;
|
D | regression_file_iterator4.cpp | 47 | lex::token_def<>("!.*$") [( in lexer() 51 | lex::token_def<>('\n', 2) [ in lexer() 57 lex::token_def<>(".") [( in lexer() 64 lex::token_def<> word;
|
D | regression_file_iterator2.cpp | 61 | lex::token_def<>(".", 3) [ in lexer() 70 | lex::token_def<>(".", 4) [( in lexer() 77 lex::token_def<identifier> id; 78 lex::token_def<string_literal> st;
|
D | regression_wide.cpp | 106 lex::token_def<wstring_type, wchar_t, tokenids> identifier; 107 lex::token_def<double, wchar_t, tokenids> constant; 108 lex::token_def<wchar_t, wchar_t, tokenids> operation; 109 lex::token_def<wchar_t, wchar_t, tokenids> bracket;
|
D | token_omit.cpp | 55 lex::token_def<lex::omit> int_; 56 lex::token_def<lex::omit> double_; 57 lex::token_def<lex::omit> whitespace; 93 lex::token_def<lex::omit> int_; 94 lex::token_def<lex::omit> double_; 95 lex::token_def<lex::omit> whitespace;
|
D | token_iterpair.cpp | 55 lex::token_def<lex::omit> int_; 56 lex::token_def<lex::omit> double_; 57 lex::token_def<lex::omit> whitespace; 93 lex::token_def<lex::omit> int_; 94 lex::token_def<lex::omit> double_; 95 lex::token_def<lex::omit> whitespace;
|
D | token_onetype.cpp | 57 lex::token_def<double> int_; 58 lex::token_def<double> double_; 59 lex::token_def<lex::omit> whitespace; 95 lex::token_def<double> int_; 96 lex::token_def<double> double_; 97 lex::token_def<lex::omit> whitespace;
|
D | regression_file_iterator1.cpp | 65 | lex::token_def<>(".", 3) [ lex::_state = "ST" ] in lexer() 69 lex::token_def<identifier> id; 70 lex::token_def<string_literal> st;
|
D | token_moretypes.cpp | 57 lex::token_def<int> int_; 58 lex::token_def<double> double_; 59 lex::token_def<lex::omit> whitespace; 95 lex::token_def<int> int_; 96 lex::token_def<double> double_; 97 lex::token_def<lex::omit> whitespace;
|
D | auto_switch_lexerstate.cpp | 50 | lex::token_def<>('\n', 2) in lexer() 60 lex::token_def<> word;
|
/third_party/boost/libs/spirit/example/lex/ |
D | lexer_debug_support.cpp | 36 lex::token_def<> tok_float, tok_int; 37 lex::token_def<> ws; 38 lex::token_def<double> floatlit; 39 lex::token_def<int> intlit; 40 lex::token_def<> identifier;
|
D | example5.cpp | 60 this->self += lex::token_def<>('(') | ')' | '{' | '}' | '=' | ';' | constant; in init_token_definitions() 66 = lex::token_def<>("[ \\t\\n]+") in init_token_definitions() 72 lex::token_def<lex::omit> if_, while_; 87 lex::token_def<std::string> identifier; 88 lex::token_def<unsigned int> constant; 182 lex::token_def<lex::omit> else_;
|
D | example4.cpp | 54 this->self = lex::token_def<>('(') | ')' | '{' | '}' | '=' | ';' | constant; in example4_tokens() 60 = lex::token_def<>("[ \\t\\n]+") in example4_tokens() 67 lex::token_def<> if_, else_, while_; 82 lex::token_def<std::string> identifier; 83 lex::token_def<unsigned int> constant;
|
D | example6.cpp | 67 this->self = lex::token_def<>('(') | ')' | '{' | '}' | '=' | ';'; in example6_tokens() 84 = lex::token_def<>("[ \\t\\n]+") in example6_tokens() 102 lex::token_def<std::string> identifier; 103 lex::token_def<unsigned int> constant;
|
D | example1.cpp | 54 lex::token_def<> identifier, white_space; 62 : qi::grammar<Iterator, qi::in_state_skipper<lex::token_def<> > > 71 qi::rule<Iterator, qi::in_state_skipper<lex::token_def<> > > start;
|
/third_party/boost/libs/spirit/example/lex/static_lexer/ |
D | word_count_tokens.hpp | 34 this->self = word | '\n' | boost::spirit::lex::token_def<>(".", IDANY); in word_count_tokens() 37 boost::spirit::lex::token_def<std::string> word;
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure2/ |
D | lexer.hpp | 119 lex::token_def<std::string> identifier; 120 lex::token_def<unsigned int> lit_uint; 121 lex::token_def<bool> true_or_false;
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure3/ |
D | lexer.hpp | 135 lex::token_def<std::string> identifier; 136 lex::token_def<unsigned int> lit_uint; 137 lex::token_def<bool> true_or_false;
|