fipa_acl  1.4
Public Member Functions | Public Attributes | List of all members
acl::grammar::Word< Iterator > Struct Template Reference

#include <grammar_common.h>

Inherits grammar< Iterator, std::string()>.

Public Member Functions

 Word ()
 

Public Attributes

qi::rule< Iterator, std::string()> word_rule
 
qi::rule< Iterator > wordExceptionsStart
 
qi::rule< Iterator > wordExceptionsGeneral
 

Detailed Description

template<typename Iterator>
struct acl::grammar::Word< Iterator >

Definition at line 750 of file grammar_common.h.

Constructor & Destructor Documentation

template<typename Iterator >
acl::grammar::Word< Iterator >::Word ( )
inline

Definition at line 752 of file grammar_common.h.

752  : Word::base_type(word_rule, "Word-bitefficient_grammar")
753  {
754  using encoding::char_;
755 
756  word_rule = (char_ - wordExceptionsStart ) [ label::_val += label::_1 ]
757  >> *(char_ - wordExceptionsGeneral) [ label::_val += label::_1 ]
758  ;
759 
761  | char_('#')
762  | char_('0','9')
763  | char_('-')
764  | char_('@')
765  ;
766  wordExceptionsGeneral %= char_(0x00,0x20)
767  | char_('(')
768  | char_(')')
769  ;
770  #ifdef BOOST_SPIRIT_DEBUG
771  BOOST_SPIRIT_DEBUG_NODE(wordExceptionsStart);
772  BOOST_SPIRIT_DEBUG_NODE(wordExceptionsGeneral);
773 
775  #endif
776  }
qi::rule< Iterator > wordExceptionsStart
qi::rule< Iterator > wordExceptionsGeneral
qi::rule< Iterator, std::string()> word_rule
#define FIPA_DEBUG_RULE(X)

Member Data Documentation

template<typename Iterator >
qi::rule<Iterator, std::string()> acl::grammar::Word< Iterator >::word_rule

Definition at line 778 of file grammar_common.h.

template<typename Iterator >
qi::rule<Iterator> acl::grammar::Word< Iterator >::wordExceptionsGeneral

Definition at line 780 of file grammar_common.h.

template<typename Iterator >
qi::rule<Iterator> acl::grammar::Word< Iterator >::wordExceptionsStart

Definition at line 779 of file grammar_common.h.


The documentation for this struct was generated from the following file: