Home
last modified time | relevance | path

Searched refs:xpr (Results 1 – 25 of 41) sorted by relevance

12

/third_party/boost/boost/xpressive/detail/core/
Dpeeker.hpp146 mpl::false_ accept(literal_matcher<Traits, ICase, mpl::false_> const &xpr) in accept()
148 this->bset_.set_char(xpr.ch_, ICase(), this->get_traits_<Traits>()); in accept()
153 mpl::false_ accept(string_matcher<Traits, ICase> const &xpr) in accept()
155 this->bset_.set_char(xpr.str_[0], ICase(), this->get_traits_<Traits>()); in accept()
156 this->str_.begin_ = detail::data_begin(xpr.str_); in accept()
157 this->str_.end_ = detail::data_end(xpr.str_); in accept()
163 mpl::false_ accept(alternate_matcher<Alternates, Traits> const &xpr) in accept()
165 BOOST_ASSERT(0 != xpr.bset_.count()); in accept()
166 this->bset_.set_bitset(xpr.bset_); in accept()
171 mpl::false_ accept(attr_matcher<Matcher, Traits, ICase> const &xpr) in accept()
[all …]
Dadaptor.hpp39 xpression_adaptor(Xpr const &xpr) in xpression_adaptor()
45 : xpr_(xpr) in xpression_adaptor()
73 inline intrusive_ptr<Base const> make_adaptor(Xpr const &xpr) in make_adaptor() argument
75 return intrusive_ptr<Base const>(new xpression_adaptor<Xpr, Base>(xpr)); in make_adaptor()
Dlinker.hpp247 void alt_branch_link(Xpr const &xpr, void const *next, xpression_peeker<Char> *peeker) in alt_branch_link()
250 xpr.link(*this); in alt_branch_link()
251 xpr.peek(*peeker); in alt_branch_link()
278 void operator ()(Xpr const &xpr) const in operator ()()
280 this->linker_->alt_branch_link(xpr, this->next_, this->peeker_); in operator ()()
/third_party/boost/boost/xpressive/detail/dynamic/
Dsequence.hpp41 sequence(intrusive_ptr<dynamic_xpression<Matcher, BidiIter> > const &xpr) in sequence()
43 , width_(xpr->Matcher::get_width()) in sequence()
45 , head_(xpr) in sequence()
46 , tail_(&xpr->next_) in sequence()
53 …r<dynamic_xpression<alternate_matcher<alternates_vector<BidiIter>, Traits>, BidiIter> > const &xpr) in sequence()
57 , head_(xpr) in sequence()
58 , tail_(&xpr->next_) in sequence()
60 , alternates_(&xpr->alternates_) in sequence()
119 this->xpr().matchable()->repeat(spec, *this); in repeat()
122 shared_matchable<BidiIter> const &xpr() const in xpr() function
Ddynamic.hpp164 intrusive_ptr<xpression_type> xpr(new xpression_type(matcher)); in make_dynamic() local
165 return sequence<BidiIter>(xpr); in make_dynamic()
212 make_simple_repeat(quant_spec const &spec, sequence<BidiIter> &seq, Xpr const &xpr) in make_simple_repeat() argument
216 … simple_repeat_matcher<Xpr, mpl::true_> quant(xpr, spec.min_, spec.max_, seq.width().value()); in make_simple_repeat()
221 … simple_repeat_matcher<Xpr, mpl::false_> quant(xpr, spec.min_, spec.max_, seq.width().value()); in make_simple_repeat()
233 make_simple_repeat(spec, seq, seq.xpr()); in make_simple_repeat()
246 optional_matcher<xpr_type, mpl::true_> opt(seq.xpr()); in make_optional()
251 optional_matcher<xpr_type, mpl::false_> opt(seq.xpr()); in make_optional()
266 optional_mark_matcher<xpr_type, mpl::true_> opt(seq.xpr(), mark_nbr); in make_optional()
271 optional_mark_matcher<xpr_type, mpl::false_> opt(seq.xpr(), mark_nbr); in make_optional()
Dmatchable.hpp123 shared_matchable(matchable_ptr const &xpr = matchable_ptr()) in shared_matchable()
124 : xpr_(xpr) in shared_matchable()
/third_party/boost/boost/xpressive/detail/static/
Dcompile.hpp35 …void static_compile_impl2(Xpr const &xpr, shared_ptr<regex_impl<BidiIter> > const &impl, Traits co… in static_compile_impl2() argument
46 xpr in static_compile_impl2()
73 static_compile_impl1(Xpr const &xpr, shared_ptr<regex_impl<BidiIter> > const &impl) in static_compile_impl1() argument
79 static_compile_impl2(xpr, impl, tr); in static_compile_impl1()
86 static_compile_impl1(Xpr const &xpr, shared_ptr<regex_impl<BidiIter> > const &impl) in static_compile_impl1() argument
91 …static_compile_impl2(proto::right(xpr), impl, traits_type(proto::value(proto::left(xpr)).getloc())… in static_compile_impl1()
97 void static_compile(Xpr const &xpr, shared_ptr<regex_impl<BidiIter> > const &impl) in static_compile() argument
99 static_compile_impl1(xpr, impl); in static_compile()
/third_party/boost/boost/spirit/home/karma/stream/detail/
Dformat_manip.hpp34 format_manip(Expr const& xpr, Delimiter const& d, Attribute const& a) in format_manip()
35 : expr(xpr), delim(d), pre(delimit_flag::dont_predelimit), attr(a) {} in format_manip()
37 format_manip(Expr const& xpr, Delimiter const& d in format_manip()
39 : expr(xpr), delim(d), pre(pre_delimit), attr(a) {} in format_manip()
53 format_manip(Expr const& xpr, Delimiter const& d, Attribute const& a) in format_manip()
54 : expr(xpr), delim(d), pre(delimit_flag::dont_predelimit), attr(a) {} in format_manip()
56 format_manip(Expr const& xpr, Delimiter const& d in format_manip()
58 : expr(xpr), delim(d), pre(pre_delimit), attr(a) {} in format_manip()
72 format_manip(Expr const& xpr, Delimiter const& d, Attribute const& a) in format_manip()
73 : expr(xpr), delim(d), pre(delimit_flag::dont_predelimit), attr(a) {} in format_manip()
[all …]
/third_party/boost/boost/spirit/home/qi/stream/detail/
Dmatch_manip.hpp37 match_manip(Expr const& xpr, Skipper const& s, Attribute& a) in match_manip()
38 : expr(xpr), skipper(s), attr(a), post_skip(skip_flag::postskip) {} in match_manip()
40 match_manip(Expr const& xpr, Skipper const& s in match_manip()
42 : expr(xpr), skipper(s), attr(a), post_skip(ps) {} in match_manip()
56 match_manip(Expr const& xpr, Skipper const& s, Attribute& a) in match_manip()
57 : expr(xpr), skipper(s), attr(a), post_skip(skip_flag::postskip) {} in match_manip()
59 match_manip(Expr const& xpr, Skipper const& s in match_manip()
61 : expr(xpr), skipper(s), attr(a), post_skip(ps) {} in match_manip()
75 match_manip(Expr const& xpr, Skipper const& s, Attribute& a) in match_manip()
76 : expr(xpr), skipper(s), attr(a), post_skip(skip_flag::postskip) {} in match_manip()
[all …]
/third_party/boost/boost/spirit/home/lex/
Dtokenize_and_parse.hpp76 ParserExpr const& xpr) in tokenize_and_parse() argument
84 return compile<qi::domain>(xpr).parse( in tokenize_and_parse()
93 , ParserExpr const& xpr, Attribute& attr) in tokenize_and_parse() argument
101 return compile<qi::domain>(xpr).parse( in tokenize_and_parse()
159 , Lexer const& lex, ParserExpr const& xpr, Skipper const& skipper in tokenize_and_phrase_parse() argument
175 if (!compile<qi::domain>(xpr).parse( in tokenize_and_phrase_parse()
189 , Lexer const& lex, ParserExpr const& xpr, Skipper const& skipper in tokenize_and_phrase_parse() argument
205 if (!compile<qi::domain>(xpr).parse( in tokenize_and_phrase_parse()
220 , Lexer const& lex, ParserExpr const& xpr, Skipper const& skipper in tokenize_and_phrase_parse() argument
223 return tokenize_and_phrase_parse(first, last, lex, xpr, skipper in tokenize_and_phrase_parse()
/third_party/boost/boost/spirit/home/qi/stream/
Dmatch_manip.hpp37 Expr const& xpr in match() argument
47 xpr, unused, p); in match()
66 Expr const& xpr in phrase_match() argument
80 xpr, s, post_skip, p); in phrase_match()
88 Expr const& xpr in phrase_match() argument
101 xpr, s, p); in phrase_match()
Dmatch_manip_attr.hpp48 Expr const& xpr in match() argument
64 xpr, unused, attr); in match()
75 Expr const& xpr in phrase_match() argument
95 xpr, s, post_skip, attr); in phrase_match()
105 Expr const& xpr in phrase_match() argument
124 xpr, s, attr); in phrase_match()
/third_party/boost/boost/spirit/home/karma/stream/
Dformat_manip_attr.hpp46 format(Expr const& xpr, BOOST_PP_ENUM_BINARY_PARAMS(N, A, const& attr)) in format() argument
61 xpr, unused, attr); in format()
71 format_delimited(Expr const& xpr, Delimiter const& d in format_delimited() argument
89 xpr, d, pre_delimit, attr); in format_delimited()
98 format_delimited(Expr const& xpr, Delimiter const& d in format_delimited() argument
115 xpr, d, delimit_flag::dont_predelimit, attr); in format_delimited()
Dformat_manip.hpp61 Expr const& xpr in format_delimited() argument
74 xpr, d, pre_delimit, attr); in format_delimited()
80 Expr const& xpr in format_delimited() argument
92 xpr, d, delimit_flag::dont_predelimit, attr); in format_delimited()
/third_party/boost/libs/xpressive/test/
Dmisc2.cpp14 namespace xpr = boost::xpressive;
15 using namespace xpr;
38 compiler["rx0"] = (s1="foo")[ xpr::ref(result) = s1 ]; in test_static_actions_in_dynamic_keep()
53 sregex rx0 = (s1="foo")[ xpr::ref(result) = s1 ]; in test_static_actions_in_static_keep()
73 output = regex_replace(input, rx, xpr::ref(replacements)[s1]); in test_replace_with_lambda()
/third_party/boost/boost/spirit/home/lex/lexer/
Dlexer.hpp255 lexer_def_& operator= (Expr const& xpr) in operator =()
264 define(xpr); in operator =()
291 operator+= (lexer_def_<LexerDef>& lexdef, Expr& xpr) in operator +=() argument
299 lexdef.define(xpr); in operator +=()
306 operator+= (lexer_def_<LexerDef>& lexdef, Expr&& xpr) in operator +=() argument
314 lexdef.define(xpr); in operator +=()
321 operator+= (lexer_def_<LexerDef>& lexdef, Expr const& xpr) in operator +=() argument
329 lexdef.define(xpr); in operator +=()
/third_party/boost/boost/xpressive/detail/core/matcher/
Doptional_matcher.hpp32 explicit optional_matcher(Xpr const &xpr) in optional_matcher()
33 : xpr_(xpr) in optional_matcher()
89 explicit optional_mark_matcher(Xpr const &xpr, int mark_number) in optional_mark_matcher()
90 : xpr_(xpr) in optional_mark_matcher()
Dkeeper_matcher.hpp31 keeper_matcher(Xpr const &xpr, bool pure = Xpr::pure) in keeper_matcher()
32 : xpr_(xpr) in keeper_matcher()
Dalternate_matcher.hpp49 bool operator ()(Xpr const &xpr) const in operator ()()
51 return xpr.BOOST_NESTED_TEMPLATE push_match<Next>(*this->state_); in operator ()()
Dlookahead_matcher.hpp35 lookahead_matcher(Xpr const &xpr, bool no, bool pure = Xpr::pure) in lookahead_matcher()
36 : xpr_(xpr) in lookahead_matcher()
Dlookbehind_matcher.hpp36 lookbehind_matcher(Xpr const &xpr, std::size_t wid, bool no, bool pure = Xpr::pure) in lookbehind_matcher()
37 : xpr_(xpr) in lookbehind_matcher()
Dsimple_repeat_matcher.hpp71 simple_repeat_matcher(Xpr const &xpr, unsigned int min, unsigned int max, std::size_t width) in simple_repeat_matcher()
72 : xpr_(xpr) in simple_repeat_matcher()
/third_party/boost/boost/spirit/home/karma/
Dwhat.hpp20 inline info what(Expr const& xpr) in what() argument
27 return compile<karma::domain>(xpr).what(unused); in what()
/third_party/boost/libs/spirit/test/karma/
Dformat_manip.cpp26 bool test(Char const *expected, Expr const& xpr) in test() argument
34 ostrm << boost::spirit::compile<boost::spirit::karma::domain>(xpr); in test()
/third_party/boost/boost/xpressive/detail/static/transforms/
Das_quantifier.hpp94 … xpr_type xpr = typename Grammar::template impl<arg_type, detail::true_xpression, Data>()( in operator ()() local
102 xpr in operator ()()
105 , xpr.get_width().value() in operator ()()

12