#include "tokens.h"
|
template<typename Iterator , typename Context , typename Skipper , typename Attribute > |
bool | parse (Iterator &first, Iterator const &last, Context &, Skipper const &skipper, Attribute &attr) const |
|
template<typename Context > |
boost::spirit::info | what (Context &) const |
|
Definition at line 157 of file tokens.h.
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool fhicl::uint_parser::parse |
( |
Iterator & |
first, |
|
|
Iterator const & |
last, |
|
|
Context & |
, |
|
|
Skipper const & |
skipper, |
|
|
Attribute & |
attr |
|
) |
| const |
|
inline |
Definition at line 170 of file tokens.h.
References fhicl::maximally_munched_number().
176 boost::spirit::qi::skip_over(first, last, skipper);
179 while (it != last && std::isdigit(*it))
181 Attribute result(first, it);
189 for (std::size_t ndig = result.size(); ndig > 1 && result[0] ==
'0';
194 boost::spirit::traits::assign_to(result, attr);
bool maximally_munched_number(char const ch)
template<typename Context >
boost::spirit::info fhicl::uint_parser::what |
( |
Context & |
| ) |
const |
|
inline |
Definition at line 201 of file tokens.h.
203 return boost::spirit::info{
"fhicl::uint"};
The documentation for this struct was generated from the following file: