#include "tokens.h"
|
template<typename Iterator , typename Context , typename Skipper , typename Attribute > |
bool | parse (Iterator &first, Iterator const &last, Context &c, Skipper const &skipper, Attribute &attr) const |
|
template<typename Context > |
boost::spirit::info | what (Context &) const |
|
Definition at line 489 of file tokens.h.
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool fhicl::binding_parser::parse |
( |
Iterator & |
first, |
|
|
Iterator const & |
last, |
|
|
Context & |
c, |
|
|
Skipper const & |
skipper, |
|
|
Attribute & |
attr |
|
) |
| const |
|
inline |
Definition at line 502 of file tokens.h.
References fhicl::NONE, fhicl::PROTECT_ERROR, and fhicl::PROTECT_IGNORE.
509 boost::spirit::qi::skip_over(first, last, skipper);
512 boost::spirit::qi::symbols<char, binding_modifier> modifiers;
516 modifiers.add(
"@initial", binding_modifier::INITIAL);
517 modifiers.add(
"@replace", binding_modifier::REPLACE);
518 modifiers.add(
"@replace_compat", binding_modifier::REPLACE_COMPAT);
519 modifiers.add(
"@add_or_replace_compat", binding_modifier::ADD_OR_REPLACE_COMPAT);
521 if (((*first) ==
':') ||
522 (modifiers.parse(first, last, c, skipper, result) &&
528 boost::spirit::traits::assign_to(result, attr);
template<typename Context >
boost::spirit::info fhicl::binding_parser::what |
( |
Context & |
| ) |
const |
|
inline |
Definition at line 535 of file tokens.h.
537 return boost::spirit::info{
"fhicl::binding"};
The documentation for this struct was generated from the following file: