|
Lines 242-263
namespace boost { namespace spirit
Link Here
|
| 242 |
bool |
242 |
bool |
| 243 |
at_end() const |
243 |
at_end() const |
| 244 |
{ |
244 |
{ |
| 245 |
typedef typename PoliciesT::iteration_policy_t iteration_policy_t; |
245 |
typedef typename PoliciesT::iteration_policy_t iteration_policy_t_local; |
| 246 |
return iteration_policy_t::at_end(*this); |
246 |
return iteration_policy_t_local::at_end(*this); |
| 247 |
} |
247 |
} |
| 248 |
|
248 |
|
| 249 |
value_t |
249 |
value_t |
| 250 |
operator*() const |
250 |
operator*() const |
| 251 |
{ |
251 |
{ |
| 252 |
typedef typename PoliciesT::iteration_policy_t iteration_policy_t; |
252 |
typedef typename PoliciesT::iteration_policy_t iteration_policy_t_local; |
| 253 |
return iteration_policy_t::filter(iteration_policy_t::get(*this)); |
253 |
return iteration_policy_t_local::filter(iteration_policy_t_local::get(*this)); |
| 254 |
} |
254 |
} |
| 255 |
|
255 |
|
| 256 |
scanner const& |
256 |
scanner const& |
| 257 |
operator++() const |
257 |
operator++() const |
| 258 |
{ |
258 |
{ |
| 259 |
typedef typename PoliciesT::iteration_policy_t iteration_policy_t; |
259 |
typedef typename PoliciesT::iteration_policy_t iteration_policy_t_local; |
| 260 |
iteration_policy_t::advance(*this); |
260 |
iteration_policy_t_local::advance(*this); |
| 261 |
return *this; |
261 |
return *this; |
| 262 |
} |
262 |
} |
| 263 |
|
263 |
|