Home
last modified time | relevance | path

Searched refs:ParserT (Results 1 – 25 of 57) sorted by relevance

123

/third_party/boost/boost/spirit/home/classic/error_handling/
Dexceptions.hpp121 template <typename ErrorDescrT, typename ParserT>
123 : public unary<ParserT, parser<assertive_parser<ErrorDescrT, ParserT> > >
125 typedef assertive_parser<ErrorDescrT, ParserT> self_t;
126 typedef unary<ParserT, parser<self_t> > base_t;
129 assertive_parser(ParserT const& parser, ErrorDescrT descriptor_) in assertive_parser()
135 typedef typename parser_result<ParserT, ScannerT>::type type;
142 typedef typename parser_result<ParserT, ScannerT>::type result_t; in parse()
190 template <typename ParserT>
191 assertive_parser<ErrorDescrT, ParserT>
192 operator()(ParserT const& parser) const in operator ()()
[all …]
/third_party/boost/boost/spirit/home/classic/meta/impl/
Drefactoring.ipp53 typename ParserT, typename NestedT,
56 static typename parser_result<ParserT, ScannerT>::type
57 parse(ParserT const &, ScannerT const& scan, BinaryT const& binary,
68 typename ParserT, typename ScannerT, typename BinaryT,
71 static typename parser_result<ParserT, ScannerT>::type
72 parse(ParserT const &, ScannerT const& scan, BinaryT const& binary,
93 template <typename ParserT, typename ScannerT, typename BinaryT>
94 static typename parser_result<ParserT, ScannerT>::type
95 parse(ParserT const &, ScannerT const& scan, BinaryT const& binary)
104 template <typename ParserT, typename ScannerT, typename BinaryT>
[all …]
Dtraverse.ipp55 template <typename MetaT, typename ParserT, typename EnvT>
58 typedef typename ParserT::parser_category_t parser_category_t;
60 ::template result<MetaT, ParserT, EnvT>::type type;
74 template <typename MetaT, typename ParserT, typename EnvT>
77 typedef typename MetaT::template plain_result<ParserT, EnvT>::type type;
153 template <typename MetaT, typename ParserT, typename EnvT>
157 MetaT, ParserT, EnvT
166 template <typename MetaT, typename ParserT, typename EnvT>
170 MetaT, ParserT, typename ParserT::subject_t, EnvT
179 template <typename MetaT, typename ParserT, typename EnvT>
[all …]
Dfundamental.ipp33 template <typename ParserT, typename LeafCountT>
43 template <typename ParserT, typename LeafCountT>
46 typedef typename ParserT::subject_t subject_t;
57 template <typename ParserT, typename LeafCountT>
60 typedef typename ParserT::subject_t subject_t;
71 template <typename ParserT, typename LeafCountT>
74 typedef typename ParserT::left_t left_t;
75 typedef typename ParserT::right_t right_t;
105 template <typename ParserT, typename LeafCountT>
115 template <typename ParserT, typename LeafCountT>
[all …]
/third_party/boost/boost/spirit/home/classic/core/composite/
Ddirectives.hpp33 template <typename ParserT>
35 : public unary<ParserT, parser<contiguous<ParserT> > >
37 typedef contiguous<ParserT> self_t;
40 typedef unary<ParserT, parser<self_t> > base_t;
45 typedef typename parser_result<ParserT, ScannerT>::type type;
48 contiguous(ParserT const& p) in contiguous()
63 template <typename ParserT>
66 typedef contiguous<ParserT> type;
69 template <typename ParserT>
70 static contiguous<ParserT>
[all …]
Dno_actions.hpp100 template<typename ParserT>
102 public unary<ParserT, parser<no_actions_parser<ParserT> > >
104 typedef no_actions_parser<ParserT> self_t;
107 typedef unary<ParserT, parser<self_t> > base_t;
112 typedef typename parser_result<ParserT, ScannerT>::type type;
115 no_actions_parser(ParserT const& p) in no_actions_parser()
134 template<typename ParserT>
137 typedef no_actions_parser<ParserT> type;
140 template<typename ParserT>
141 static no_actions_parser<ParserT>
[all …]
Dactions.hpp84 template <typename ParserT, typename ActionT>
85 class action : public unary<ParserT, parser<action<ParserT, ActionT> > >
89 typedef action<ParserT, ActionT> self_t;
91 typedef unary<ParserT, parser<self_t> > base_t;
97 typedef typename parser_result<ParserT, ScannerT>::type type;
100 action(ParserT const& p, ActionT const& a) in action()
/third_party/boost/boost/spirit/home/classic/utility/
Dloops.hpp43 template <typename ParserT, typename ExactT>
45 : public unary<ParserT, parser <fixed_loop <ParserT, ExactT> > >
49 typedef fixed_loop<ParserT, ExactT> self_t;
50 typedef unary<ParserT, parser<self_t> > base_t;
52 fixed_loop (ParserT const & subject_, ExactT const & exact) in fixed_loop()
108 template <typename ParserT, typename MinT, typename MaxT>
110 : public unary<ParserT, parser<finite_loop<ParserT, MinT, MaxT> > >
114 typedef finite_loop <ParserT, MinT, MaxT> self_t;
115 typedef unary<ParserT, parser<self_t> > base_t;
117 finite_loop (ParserT const & subject_, MinT const & min, MaxT const & max) in finite_loop()
[all …]
Ddistinct.hpp74 template<typename ParserT>
79 ParserT,
103 template<typename ParserT>
104 typename result<typename as_parser<ParserT>::type>::type
105 operator[](ParserT const &subject) const in operator []()
108 lexeme_d[as_parser<ParserT>::convert(subject) >> ~epsilon_p(tail)]; in operator []()
147 template<typename ParserT>
148 explicit dynamic_distinct_parser(parser<ParserT> const & tail_) in dynamic_distinct_parser()
183 template<typename ParserT>
188 ParserT,
[all …]
Dscoped_lock.hpp31 template <typename MutexT, typename ParserT>
33 : public unary< ParserT, parser< scoped_lock_parser<MutexT, ParserT> > >
35 typedef scoped_lock_parser<MutexT, ParserT> self_t;
37 typedef ParserT parser_t;
46 : unary< ParserT, parser< scoped_lock_parser<MutexT, ParserT> > >(p) in scoped_lock_parser()
77 template<typename ParserT>
81 typename as_parser<ParserT>::type
83 operator[](ParserT const &p) const in operator []()
85 typedef ::BOOST_SPIRIT_CLASSIC_NS::as_parser<ParserT> as_parser_t; in operator []()
Descape_char.hpp49 typename ParserT, typename ActionT,
53 : public unary<ParserT,
54 parser<escape_char_action<ParserT, ActionT, Flags, CharT> > >
57 <ParserT, ActionT, Flags, CharT> self_t;
59 typedef unary<ParserT, parser<self_t> > base_t;
67 escape_char_action(ParserT const& p, ActionT const& a) in escape_char_action()
154 template <typename ParserT, typename ActionT>
155 static escape_char_action<ParserT, ActionT, Flags, CharT>
156 generate (ParserT const &p, ActionT const &actor) in generate()
159 escape_char_action<ParserT, ActionT, Flags, CharT> in generate()
/third_party/boost/boost/spirit/home/classic/meta/
Dparser_traits.hpp105 template <typename ParserT>
109 ::BOOST_SPIRIT_CLASSIC_NS::impl::parser_type_traits<ParserT>::is_alternative));
112 template <typename ParserT>
116 ::BOOST_SPIRIT_CLASSIC_NS::impl::parser_type_traits<ParserT>::is_sequence));
119 template <typename ParserT>
123 ::BOOST_SPIRIT_CLASSIC_NS::impl::parser_type_traits<ParserT>::is_sequential_or));
126 template <typename ParserT>
130 ::BOOST_SPIRIT_CLASSIC_NS::impl::parser_type_traits<ParserT>::is_intersection));
133 template <typename ParserT>
137 ::BOOST_SPIRIT_CLASSIC_NS::impl::parser_type_traits<ParserT>::is_difference));
[all …]
Dtraverse.hpp29 template <typename MetaT, typename ParserT>
35 , ParserT
44 template <typename MetaT, typename ParserT>
45 static typename result<MetaT, ParserT>::type
46 traverse(MetaT const &meta_, ParserT const &parser_) in traverse()
48 typedef typename ParserT::parser_category_t parser_category_t; in traverse()
69 template <typename ParserT, typename EnvT>
73 typedef typename ParserT::embed_t type;
76 template <typename ParserT, typename EnvT>
77 typename parser_traversal_plain_result<TransformT, ParserT, EnvT>::type
[all …]
Drefactoring.hpp98 template <typename ParserT>
99 refactor_unary_parser<ParserT, NestedT>
100 operator[](parser<ParserT> const& subject) const in operator []()
102 return refactor_unary_parser<ParserT, NestedT> in operator []()
181 template <typename ParserT>
182 refactor_action_parser<ParserT, NestedT>
183 operator[](parser<ParserT> const& subject) const in operator []()
185 return refactor_action_parser<ParserT, NestedT> in operator []()
263 template <typename ParserT, typename ActionT>
264 attach_action_parser<action<ParserT, ActionT>, NestedT>
[all …]
Dfundamental.hpp25 template <typename ParserT>
28 typedef typename ParserT::parser_category_t parser_category_t;
30 ::template count<ParserT, mpl::int_<0> > count_t;
42 template <typename ParserT>
45 typedef typename ParserT::parser_category_t parser_category_t;
47 ::template count<ParserT, mpl::int_<0> > count_t;
/third_party/boost/tools/quickbook/src/
Dparsers.hpp40 template <typename Impl, typename Arguments, typename ParserT>
43 ParserT,
44 cl::parser<scoped_parser_impl<Impl, Arguments, ParserT> > >
46 typedef scoped_parser_impl<Impl, Arguments, ParserT> self_t;
48 ParserT,
49 cl::parser<scoped_parser_impl<Impl, Arguments, ParserT> > >
58 Impl const& impl, Arguments const& arguments, ParserT const& p) in scoped_parser_impl()
124 typename cl::parser_result<ParserT, ScannerT>::type r = in parse()
159 template <typename ParserT>
163 typename cl::as_parser<ParserT>::type>
[all …]
/third_party/boost/boost/spirit/home/classic/dynamic/
Dswitch.hpp130 template <typename ParserT>
131 switch_parser<ParserT, CondT>
132 operator[](parser<ParserT> const &p) const in operator []()
134 return switch_parser<ParserT, CondT>(p.derived(), cond); in operator []()
141 template <int N, typename ParserT, bool IsDefault>
143 : public unary<ParserT, parser<case_parser<N, ParserT, IsDefault> > >
145 typedef case_parser<N, ParserT, IsDefault> self_t;
147 typedef unary<ParserT, parser<self_t> > base_t;
158 case_parser(parser<ParserT> const &p) in case_parser()
228 template <int N, typename ParserT>
[all …]
Drule_alias.hpp23 template <typename ParserT>
25 public parser<rule_alias<ParserT> >
29 typedef rule_alias<ParserT> self_t;
34 typedef typename parser_result<ParserT, ScannerT>::type type;
40 rule_alias(ParserT const& p) in rule_alias()
44 operator=(ParserT const& p) in operator =()
51 typename parser_result<ParserT, ScannerT>::type
60 ParserT const&
69 ParserT const* ptr; // hold it by pointer
/third_party/boost/boost/spirit/home/classic/core/non_terminal/
Dparser_context.hpp53 template <typename ParserT>
54 parser_context(ParserT const&) {} in parser_context()
56 template <typename ParserT, typename ScannerT>
58 pre_parse(ParserT const&, ScannerT const&) {} in pre_parse()
60 template <typename ResultT, typename ParserT, typename ScannerT>
62 post_parse(ResultT& hit, ParserT const&, ScannerT const&) in post_parse()
109 template <typename ParserT>
110 parser_context_linker(ParserT const& p) in parser_context_linker()
113 template <typename ParserT, typename ScannerT>
114 void pre_parse(ParserT const& p, ScannerT const& scan) in pre_parse()
[all …]
/third_party/boost/boost/spirit/home/classic/utility/impl/
Dconfix.ipp54 template <typename ParserT, typename ScannerT>
55 static typename parser_result<ParserT, ScannerT>::type
56 parse(ParserT const& p, ScannerT const& scan)
58 typedef typename parser_result<ParserT, ScannerT>::type result_t;
66 template <typename ParserT, typename ScannerT>
67 static typename parser_result<ParserT, ScannerT>::type
68 parse(ParserT const& p, ScannerT const& scan)
84 typename LexemeT, typename ParserT, typename ScannerT,
87 static typename parser_result<ParserT, ScannerT>::type
89 LexemeT const &, ParserT const& this_, ScannerT const& scan,
[all …]
Dlists.ipp40 typename ParserT, typename ScannerT,
43 static typename parser_result<ParserT, ScannerT>::type
44 parse(ScannerT const& scan, ParserT const& /*p*/,
63 typename ParserT, typename ScannerT,
66 static typename parser_result<ParserT, ScannerT>::type
67 parse(ScannerT const& scan, ParserT const& /*p*/,
91 typename ParserT, typename ScannerT,
94 static typename parser_result<ParserT, ScannerT>::type
95 parse(ScannerT const& scan, ParserT const& /*p*/,
111 typename ParserT, typename ScannerT,
[all …]
/third_party/boost/boost/spirit/home/classic/dynamic/impl/
Dswitch.ipp36 template <int N, typename ParserT, bool IsDefault> struct case_parser;
43 template <typename ParserT, typename ScannerT>
44 inline typename parser_result<ParserT, ScannerT>::type
45 delegate_parse(ParserT const &p, ScannerT const &scan,
48 typedef typename parser_result<ParserT, ScannerT>::type result_t;
64 typename ParserT, typename DefaultT,
67 static typename parser_result<ParserT, ScannerT>::type
68 parse (ValueT const &value, ParserT const &p, DefaultT const &,
83 typename ParserT, typename DefaultT,
86 static typename parser_result<ParserT, ScannerT>::type
[all …]
/third_party/boost/boost/spirit/home/classic/debug/
Ddebug_node.hpp194 template <typename ParserT>
195 parser_context_linker(ParserT const& p) in parser_context_linker()
198 template <typename ParserT, typename ScannerT>
199 void pre_parse(ParserT const& p, ScannerT &scan) in pre_parse()
217 template <typename ResultT, typename ParserT, typename ScannerT>
218 ResultT& post_parse(ResultT& hit, ParserT const& p, ScannerT &scan) in post_parse()
283 template <typename ParserT>
284 closure_context_linker(ParserT const& p) in closure_context_linker()
287 template <typename ParserT, typename ScannerT>
288 void pre_parse(ParserT const& p, ScannerT &scan) in pre_parse()
[all …]
/third_party/boost/boost/spirit/home/classic/attribute/
Dclosure_context.hpp35 template <typename ParserT>
36 closure_context_linker(ParserT const& p) in closure_context_linker()
39 template <typename ParserT, typename ScannerT>
40 void pre_parse(ParserT const& p, ScannerT const& scan) in pre_parse()
43 template <typename ResultT, typename ParserT, typename ScannerT>
45 post_parse(ResultT& hit, ParserT const& p, ScannerT const& scan) in post_parse()
/third_party/boost/boost/spirit/home/classic/core/scanner/
Dskipper.hpp117 template <typename ParserT, typename BaseT>
125 ParserT const& skip_parser, in skip_parser_iteration_policy()
140 ParserT const&
148 ParserT const& subject;
156 template <typename IteratorT, typename ParserT, typename SkipT>
161 parser<ParserT> const& p,
169 template <typename CharT, typename ParserT, typename SkipT>
173 parser<ParserT> const& p,

123