#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 433 of file tokens.h.
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool fhicl::dss_parser::parse |
( |
Iterator & |
first, |
|
|
Iterator const & |
last, |
|
|
Context & |
, |
|
|
Skipper const & |
skipper, |
|
|
Attribute & |
attr |
|
) |
| const |
|
inline |
Definition at line 446 of file tokens.h.
References fhicl::maximally_munched_dss().
452 boost::spirit::qi::skip_over(first, last, skipper);
454 bool all_digits =
true;
456 for (; it != last && (std::isalnum(*it) || *it ==
'_'); ++it)
457 all_digits = all_digits && std::isdigit(*it);
462 Attribute result(first, it);
463 if (result.empty() || all_digits || !std::isdigit(result[0]))
467 boost::spirit::traits::assign_to(result, attr);
bool maximally_munched_dss(char const ch)
template<typename Context >
boost::spirit::info fhicl::dss_parser::what |
( |
Context & |
| ) |
const |
|
inline |
Definition at line 474 of file tokens.h.
476 return boost::spirit::info{
"fhicl::dss"};
The documentation for this struct was generated from the following file: