#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 271 of file tokens.h.
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool fhicl::dbid_parser::parse |
( |
Iterator & |
first, |
|
|
Iterator const & |
last, |
|
|
Context & |
, |
|
|
Skipper const & |
skipper, |
|
|
Attribute & |
attr |
|
) |
| const |
|
inline |
Definition at line 284 of file tokens.h.
References fhicl::ParameterSetID::max_str_size(), and fhicl::maximally_munched_number().
290 boost::spirit::qi::skip_over(first, last, skipper);
292 static std::string
const allowed{
"0123456789abcdefABCDEF"};
298 while (it != last && allowed.find(*it) != std::string::npos)
304 Attribute result(first, it);
309 boost::spirit::traits::assign_to(result, attr);
static constexpr std::size_t max_str_size() noexcept
bool maximally_munched_number(char const ch)
template<typename Context >
boost::spirit::info fhicl::dbid_parser::what |
( |
Context & |
| ) |
const |
|
inline |
Definition at line 316 of file tokens.h.
318 return boost::spirit::info{
"fhicl::dbid"};
The documentation for this struct was generated from the following file: