25 void operator()(
const char)
const { conjInfo_.back().mode_ = mode_; }
32 typedef scanner_policies<skip_parser_iteration_policy<nothing_parser, iteration_policy>, match_policy, action_policy>
37 bool decayParser(
const string& iValue, vector<ConjInfo>& oStrings) {
40 Rule_1 label = ((+alnum_p) >> *ch_p(
':') >> *ch_p(
'_') >> *alnum_p)[push_back_a(oStrings)];
41 Rule_1 conj = (ch_p(
'@') >> !((ch_p(
'b') >> ch_p(
'a') >> ch_p(
'r')[
ModeSetter(oStrings, ConjInfo::kBar)]) |
43 ch_p(
'-')[
ModeSetter(oStrings, ConjInfo::kMinus)]));
45 return parse(iValue.c_str(), ((
label >> !conj) % blank_p), nothing_p).
full;