#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 105 of file tokens.h.
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool fhicl::real_parser::parse |
( |
Iterator & |
first, |
|
|
Iterator const & |
last, |
|
|
Context & |
, |
|
|
Skipper const & |
skipper, |
|
|
Attribute & |
attr |
|
) |
| const |
|
inline |
Definition at line 118 of file tokens.h.
References fhicl::maximally_munched_number().
124 boost::spirit::qi::skip_over(first, last, skipper);
126 static std::string
const allowed{
"0123456789.-+eE"};
128 while (it != last && allowed.find(*it) != std::string::npos)
134 Attribute
raw(first, it);
139 if (!cet::canonical_number(
raw, result))
143 boost::spirit::traits::assign_to(result, attr);
bool maximally_munched_number(char const ch)
template<typename Context >
boost::spirit::info fhicl::real_parser::what |
( |
Context & |
| ) |
const |
|
inline |
Definition at line 150 of file tokens.h.
152 return boost::spirit::info{
"fhicl::real"};
The documentation for this struct was generated from the following file: