|
Gaudi Framework, version v21r6 |
| Home | Generated: 11 Nov 2009 |
#include <Grammars.h>
Definition at line 314 of file Grammars.h.
Public Member Functions | |
| definition (SkipperGrammar const &self) | |
| rule< ScannerT > const & | start () const |
Public Attributes | |
| rule< ScannerT > | skip |
| Gaudi::Parsers::SkipperGrammar::definition< ScannerT >::definition | ( | SkipperGrammar const & | self | ) | [inline] |
Definition at line 316 of file Grammars.h.
00317 { 00318 if ( self.skipnewline() ) 00319 { 00320 skip 00321 = space_p 00322 | comment_p("//") // C++ comment 00323 | comment_p("/*", "*/") // C comment 00324 ; 00325 } 00326 else 00327 { 00328 skip 00329 = (space_p-eol_p) 00330 | comment_p("//") // C++ comment 00331 | comment_p("/*", "*/") // C comment 00332 ; 00333 } 00334 }
| rule<ScannerT> const& Gaudi::Parsers::SkipperGrammar::definition< ScannerT >::start | ( | ) | const [inline] |
| rule<ScannerT> Gaudi::Parsers::SkipperGrammar::definition< ScannerT >::skip |
Definition at line 335 of file Grammars.h.