Gaudi Framework, version v21r6

Home   Generated: 11 Nov 2009

Gaudi::Parsers::SkipperGrammar::definition< ScannerT > Struct Template Reference

#include <Grammars.h>

List of all members.


Detailed Description

template<typename ScannerT>
struct Gaudi::Parsers::SkipperGrammar::definition< ScannerT >

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

Constructor & Destructor Documentation

template<typename ScannerT>
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         }


Member Function Documentation

template<typename ScannerT>
rule<ScannerT> const& Gaudi::Parsers::SkipperGrammar::definition< ScannerT >::start (  )  const [inline]

Definition at line 336 of file Grammars.h.

00336 { return skip; }


Member Data Documentation

template<typename ScannerT>
rule<ScannerT> Gaudi::Parsers::SkipperGrammar::definition< ScannerT >::skip

Definition at line 335 of file Grammars.h.


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

Generated at Wed Nov 11 16:36:43 2009 for Gaudi Framework, version v21r6 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004