#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 481 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 494 of file tokens.h.
References fhicl::NONE, fhicl::PROTECT_ERROR, and fhicl::PROTECT_IGNORE.
501 boost::spirit::qi::skip_over(first, last, skipper);
504 boost::spirit::qi::symbols<char, binding_modifier> modifiers;
508 modifiers.add(
"@initial", binding_modifier::INITIAL);
509 modifiers.add(
"@replace", binding_modifier::REPLACE);
510 modifiers.add(
"@replace_compat", binding_modifier::REPLACE_COMPAT);
511 modifiers.add(
"@add_or_replace_compat", binding_modifier::ADD_OR_REPLACE_COMPAT);
513 if (((*first) ==
':') ||
514 (modifiers.parse(first, last, c, skipper, result) &&
520 boost::spirit::traits::assign_to(result, attr);
template<typename Context >
boost::spirit::info fhicl::binding_parser::what |
( |
Context & |
| ) |
const |
|
inline |
Definition at line 527 of file tokens.h.
529 return boost::spirit::info{
"fhicl::binding"};
The documentation for this struct was generated from the following file: