/third_party/boost/boost/proto/transform/ |
D | default.hpp | 36 template<typename Grammar, typename Tag> 41 template<typename Grammar> 42 struct default_case<Grammar, tag::terminal> 46 template<typename Grammar> 51 : default_case<Grammar, Tag> 56 … template<typename Grammar> \ 58 … : transform<BOOST_PP_CAT(default_, TAG)<Grammar> > \ 66 … typedef typename Grammar::template impl<e0, State, Data>::result_type r0; \ 75 … typename Grammar::template impl<e0, State, Data> t0; \ 81 … template<typename Grammar> \ [all …]
|
D | when.hpp | 36 template<typename Grammar, typename R, typename Fun> 38 : transform<when<Grammar, Fun> > 40 typedef Grammar first; 42 typedef typename Grammar::proto_grammar proto_grammar; 112 template<typename Grammar, typename PrimitiveTransform /*= Grammar*/> 116 typedef Grammar first; 118 typedef typename Grammar::proto_grammar proto_grammar; 133 template<typename Grammar, typename Fun> 134 struct when<Grammar, Fun *> 135 : when<Grammar, Fun> [all …]
|
D | pass_through.hpp | 37 typename Grammar 49 template<typename Grammar, typename Domain, typename Expr, typename State, typename Data> 50 struct pass_through_impl<Grammar, Domain, Expr, State, Data, 0> 122 template<typename Grammar, typename Domain /* = deduce_domain*/> 124 : transform<pass_through<Grammar, Domain> > 128 : detail::pass_through_impl<Grammar, Domain, Expr, State, Data> 134 template<typename Grammar, typename Domain> 135 struct is_callable<pass_through<Grammar, Domain> >
|
/third_party/boost/boost/proto/transform/detail/preprocessed/ |
D | when.hpp | 34 template<typename Grammar, typename R > 35 struct when<Grammar, R()> 36 : detail::when_impl<Grammar, R, R()> 64 template<typename Grammar, typename R , typename A0> 65 struct when<Grammar, R(A0)> 66 : detail::when_impl<Grammar, R, R(A0)> 94 template<typename Grammar, typename R , typename A0> 95 struct when<Grammar, R(A0...)> 96 : detail::when_impl<Grammar, R, R(A0...)> 124 template<typename Grammar, typename R , typename A0 , typename A1> [all …]
|
D | default_function_impl.hpp | 9 template<typename Grammar, typename Expr, typename State, typename Data> 10 struct default_function_impl<Grammar, Expr, State, Data, 3> 13 …Grammar::template impl<e0, State, Data>::result_type r0; typedef typename result_of::child_c< Expr… 38 … return typename Grammar::template impl<e0, State, Data>()( proto::child_c< 0>( e), s, d )( in invoke() 39 …typename Grammar::template impl<e1, State, Data>()( proto::child_c< 1>( e), s, d ) , typename Gram… in invoke() 52 …BOOST_PROTO_GET_POINTER(class_type, (typename Grammar::template impl<e1, State, Data>()( proto::ch… in invoke() 53 typename Grammar::template impl<e0, State, Data>()( proto::child_c< 0>( e), s, d ) in invoke() 54 )(typename Grammar::template impl<e2, State, Data>()( proto::child_c< 2>( e), s, d )); in invoke() 57 template<typename Grammar, typename Expr, typename State, typename Data> 58 struct default_function_impl<Grammar, Expr, State, Data, 4> [all …]
|
D | pass_through_impl.hpp | 10 template<typename Grammar, typename Domain, typename Expr, typename State, typename Data> 11 struct pass_through_impl<Grammar, Domain, Expr, State, Data, 1> 27 …typename Grammar::proto_child0::template impl< typename result_of::child_c<Expr, 0>::type , State … 42 …typename Grammar::proto_child0::template impl< typename result_of::child_c<Expr, 0>::type , State … in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 51 template<typename Grammar, typename Domain, typename Expr, typename State, typename Data> 52 struct pass_through_impl<Grammar, Domain, Expr, State, Data, 2> 68 …typename Grammar::proto_child0::template impl< typename result_of::child_c<Expr, 0>::type , State … 83 …e Grammar::proto_child0::template impl< typename result_of::child_c<Expr, 0>::type , State , Data … in BOOST_PROTO_RETURN_TYPE_STRICT_LOOSE() 92 template<typename Grammar, typename Domain, typename Expr, typename State, typename Data> 93 struct pass_through_impl<Grammar, Domain, Expr, State, Data, 3> [all …]
|
/third_party/boost/boost/spirit/home/support/ |
D | make_component.hpp | 135 template <typename Domain, typename Tag, typename Grammar> 136 struct make_unary : proto::transform<make_unary<Domain, Tag, Grammar> > 145 typedef typename Grammar:: 146 template result<Grammar(child, State, Data)>::type 168 Grammar()(proto::child(expr), state, data)) in operator ()() 176 template <typename Domain, typename Tag, typename Grammar, 183 typedef typename Grammar:: 184 template result<Grammar( 189 typedef typename Grammar:: 190 template result<Grammar( [all …]
|
/third_party/boost/boost/xpressive/detail/static/transforms/ |
D | as_independent.hpp | 98 template<typename Grammar, typename Callable = proto::callable> 99 struct as_lookahead : proto::transform<as_lookahead<Grammar, Callable> > 111 typename Grammar::template impl<arg_type, end_xpr_type, Data>::result_type 126 typename Grammar::template impl<arg_type, end_xpr_type, Data>()( in operator ()() 137 template<typename Grammar, typename Callable = proto::callable> 138 struct as_lookbehind : proto::transform<as_lookbehind<Grammar, Callable> > 150 typename Grammar::template impl<arg_type, end_xpr_type, Data>::result_type 164 xpr_type expr2 = typename Grammar::template impl<arg_type, end_xpr_type, Data>()( in operator ()() 175 template<typename Grammar, typename Callable = proto::callable> 176 struct as_keeper : proto::transform<as_keeper<Grammar, Callable> > [all …]
|
D | as_alternate.hpp | 64 template<typename Grammar, typename Callable = proto::callable> 65 struct in_alternate_list : proto::transform<in_alternate_list<Grammar, Callable> > 72 typename Grammar::template impl< 88 … typename Grammar::template impl<Expr, detail::alternate_end_xpression, Data>()( in operator ()() 101 template<typename Grammar, typename Callable = proto::callable> 102 struct as_alternate_matcher : proto::transform<as_alternate_matcher<Grammar, Callable> > 110 typename Grammar::template impl<Expr, State, Data>::result_type 122 typename Grammar::template impl<Expr, State, Data>()(expr, state, data) in operator ()()
|
D | as_quantifier.hpp | 66 template<typename Grammar, typename Greedy, typename Callable = proto::callable> 67 struct as_simple_quantifier : proto::transform<as_simple_quantifier<Grammar, Greedy, Callable> > 77 typename Grammar::template impl<arg_type, detail::true_xpression, Data>::result_type 94 … xpr_type xpr = typename Grammar::template impl<arg_type, detail::true_xpression, Data>()( in operator ()() 218 template<typename Grammar, typename Greedy, typename Callable = proto::callable> 219 struct as_default_optional : proto::transform<as_default_optional<Grammar, Greedy, Callable> > 230 typename Grammar::template impl<Expr, end_xpr, Data>::result_type 242 typename Grammar::template impl<Expr, end_xpr, Data>()(expr, end_xpr(), data) in operator ()() 250 template<typename Grammar, typename Greedy, typename Callable = proto::callable> 251 struct as_mark_optional : proto::transform<as_mark_optional<Grammar, Greedy, Callable> > [all …]
|
D | as_sequence.hpp | 23 template<typename Grammar, typename Callable = proto::callable> 24 struct in_sequence : proto::transform<in_sequence<Grammar, Callable> > 31 typename Grammar::template impl<Expr, State, Data>::result_type 43 typename Grammar::template impl<Expr, State, Data>()(expr, state, data) in operator ()()
|
D | as_modifier.hpp | 39 template<typename Grammar, typename Callable = proto::callable> 40 struct as_modifier : proto::transform<as_modifier<Grammar, Callable> > 60 typename Grammar::template impl<expr_type, State, visitor_type &>::result_type 70 return typename Grammar::template impl<expr_type, State, visitor_type &>()( in operator ()()
|
D | as_set.hpp | 104 template<typename Grammar, typename CharSet, typename Data> 129 typename Grammar::template impl<Expr const &, detail::end_xpression, Data &>()( in call_() 181 template<typename Grammar, typename Callable = proto::callable> 182 struct as_set_matcher : proto::transform<as_set_matcher<Grammar, Callable> > 215 merge_charset<Grammar, result_type, typename impl::data> merge(matcher, data); in operator ()()
|
/third_party/boost/boost/proto/transform/detail/ |
D | when.hpp | 61 template<typename Grammar, typename R BOOST_PP_ENUM_TRAILING_PARAMS(N, typename A)> 62 struct when<Grammar, R(BOOST_PP_ENUM_PARAMS(N, A))> 63 : detail::when_impl<Grammar, R, R(BOOST_PP_ENUM_PARAMS(N, A))> 93 template<typename Grammar, typename R BOOST_PP_ENUM_TRAILING_PARAMS(N, typename A)> 94 struct when<Grammar, R(BOOST_PP_ENUM_PARAMS(N, A)...)> 95 : detail::when_impl<Grammar, R, R(BOOST_PP_ENUM_PARAMS(N, A)...)>
|
D | pass_through_impl.hpp | 8 typename Grammar::BOOST_PP_CAT(proto_child, N)::template impl< \ 16 typename Grammar::BOOST_PP_CAT(proto_child, N)::template impl< \ 57 template<typename Grammar, typename Domain, typename Expr, typename State, typename Data> 58 struct pass_through_impl<Grammar, Domain, Expr, State, Data, N>
|
/third_party/boost/boost/proto/ |
D | debug.hpp | 246 template<typename Grammar, typename Expr> 249 BOOST_MPL_ASSERT((proto::matches<Expr, Grammar>)); in assert_matches() 257 template<typename Grammar, typename Expr> 260 BOOST_MPL_ASSERT_NOT((proto::matches<Expr, Grammar>)); in assert_matches_not() 269 … #define BOOST_PROTO_ASSERT_MATCHES(Expr, Grammar) \ argument 270 (true ? (void)0 : boost::proto::assert_matches<Grammar>(Expr)) 278 … #define BOOST_PROTO_ASSERT_MATCHES_NOT(Expr, Grammar) \ argument 279 (true ? (void)0 : boost::proto::assert_matches_not<Grammar>(Expr))
|
D | matches.hpp | 59 template<typename Expr, typename BasicExpr, typename Grammar> 291 template<typename Expr, typename BasicExpr, typename Grammar> 403 template<typename Expr, typename BasicExpr, typename Grammar> 404 struct matches_<Expr, BasicExpr, not_<Grammar> > 405 : mpl::not_<matches_<Expr, BasicExpr, typename Grammar::proto_grammar> > 502 template<typename Expr, typename Grammar> 507 , typename Grammar::proto_grammar 513 template<typename Expr, typename Grammar> 514 struct matches<Expr &, Grammar> 518 , typename Grammar::proto_grammar [all …]
|
/third_party/python/Lib/test/test_peg_generator/ |
D | test_grammar_validator.py | 9 from pegen.grammar import Grammar 20 grammar: Grammar = parse_string(grammar_source, GrammarParser) 32 grammar: Grammar = parse_string(grammar_source, GrammarParser) 47 grammar: Grammar = parse_string(grammar_source, GrammarParser)
|
/third_party/boost/boost/proto/detail/ |
D | lambda_matches.hpp | 10 … , BOOST_PP_CAT(Grammar, N) \ 46 BOOST_PP_ENUM_TRAILING_PARAMS(N, typename Grammar) 50 , T<BOOST_PP_ENUM_PARAMS(N, Grammar)>
|
/third_party/boost/libs/proto/test/ |
D | toy_spirit.cpp | 51 template<typename Grammar> 489 template<typename Grammar> 492 proto::bitwise_or< Grammar, Grammar > 493 , proto::shift_right< Grammar, Grammar > 494 , proto::minus< Grammar, Grammar > 495 , proto::dereference< Grammar > 496 , proto::unary_plus< Grammar > 497 , proto::logical_not< Grammar >
|
/third_party/python/Tools/peg_generator/pegen/ |
D | metagrammar.gram | 28 Grammar, 33 start[Grammar]: grammar ENDMARKER { grammar } 35 grammar[Grammar]: 36 | metas rules { Grammar(rules, metas) } 37 | rules { Grammar(rules, []) }
|
D | build.py | 11 from pegen.grammar import Grammar 107 ) -> Tuple[Grammar, Parser, Tokenizer]: 149 grammar: Grammar, argument 178 grammar: Grammar, grammar_file: str, output_file: str, skip_actions: bool = False, argument 196 ) -> Tuple[Grammar, Parser, Tokenizer, ParserGenerator]: 236 ) -> Tuple[Grammar, Parser, Tokenizer, ParserGenerator]:
|
D | testutil.py | 14 from pegen.grammar import Grammar 27 def generate_parser(grammar: Grammar) -> Type[Parser]: argument 78 def generate_c_parser_source(grammar: Grammar) -> str: argument 86 grammar: Grammar, path: pathlib.PurePath, debug: bool = False argument
|
D | validator.py | 25 def __init__(self, grammar: grammar.Grammar): argument 48 def validate_grammar(the_grammar: grammar.Grammar): argument
|
/third_party/python/Doc/reference/ |
D | grammar.rst | 1 Full Grammar specification 5 used to generate the CPython parser (see :source:`Grammar/python.gram`). 19 .. literalinclude:: ../../Grammar/python.gram
|