|
Gaudi Framework, version v23r0 |
| Home | Generated: Mon Jan 30 2012 |
Skipping spaces and comments. More...
#include <Grammar.h>


Classes | |
| struct | definition |
Public Member Functions | |
| SkipperGrammar () | |
| SkipperGrammar (const bool skipnewline=true) | |
| Constructor. | |
| bool | skipnewline () const |
| SkipperGrammar () | |
Public Attributes | |
| qi::rule< Iterator > | comments |
Private Attributes | |
| bool | m_skipnewline |
Skipping spaces and comments.
Comments can be
Definition at line 36 of file Grammar.h.
| Gaudi::Parsers::SkipperGrammar< Iterator >::SkipperGrammar | ( | ) | [inline] |
| Gaudi::Parsers::SkipperGrammar< Iterator >::SkipperGrammar | ( | const bool | skipnewline = true ) |
[inline] |
Constructor.
| skipnewline | Skip new line symbols or not |
Definition at line 312 of file Grammars.h.
: m_skipnewline(skipnewline){}
| Gaudi::Parsers::SkipperGrammar< Iterator >::SkipperGrammar | ( | ) | [inline] |
Definition at line 78 of file GrammarsV2.h.
: SkipperGrammar::base_type(comments) {
comments = enc::space | rep::confix("/*", "*/")[*(qi::char_ - "*/")]
|
rep::confix("//", sp::eol)[*(qi::char_ - sp::eol)];
}
| bool Gaudi::Parsers::SkipperGrammar< Iterator >::skipnewline | ( | ) | const [inline] |
Definition at line 316 of file Grammars.h.
{return m_skipnewline;}
bool Gaudi::Parsers::SkipperGrammar< Iterator >::m_skipnewline [private] |
Definition at line 344 of file Grammars.h.