Skipping spaces and comments.
More...
#include <src/JobOptionsSvc/Grammar.h>
template<typename Iterator>
class Gaudi::Parsers::SkipperGrammar< Iterator >
Skipping spaces and comments.
Comments can be
- // ... - one line
- \/* ... *\/ - multiline
- Author
- Alexander MAZUROV Alexa.nosp@m.nder.nosp@m..Mazu.nosp@m.rov@.nosp@m.gmail.nosp@m..com
-
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
- Date
- 2006-05-14
Definition at line 45 of file Grammar.h.
template<typename Iterator >
Definition at line 46 of file Grammar.h.
46 : SkipperGrammar::base_type(
comments) {
48 | rep::confix(
"/*",
"*/")[*(qi::char_ -
"*/")]
49 | rep::confix(
"//", (sp::eol | sp::eoi))[*(qi::char_ - (sp::eol | sp::eoi))];
qi::rule< Iterator > comments
template<typename Iterator >
Constructor.
- Parameters
-
skipnewline | Skip new line symbols or not |
Definition at line 312 of file Grammars.h.
template<typename Iterator >
Definition at line 78 of file GrammarsV2.h.
78 : SkipperGrammar::base_type(
comments) {
79 comments = enc::space | rep::confix(
"/*",
"*/")[*(qi::char_ -
"*/")]
81 rep::confix(
"//", (sp::eol | sp::eoi))[*(qi::char_ - (sp::eol|sp::eoi))];
qi::rule< Iterator > comments
template<typename Iterator >
- Returns
- true - skip new line symbols, false - not skip
Definition at line 316 of file Grammars.h.
template<typename Iterator >
template<typename Iterator >
The documentation for this class was generated from the following files: