Gaudi Framework, version v21r4

Home   Generated: 7 Sep 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 312 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 314 of file Grammars.h.

00315         {
00316           if ( self.skipnewline() )
00317           {
00318             skip
00319               =   space_p
00320               |   comment_p("//")     // C++ comment
00321               |   comment_p("/*", "*/")     // C comment
00322               ;
00323           }
00324           else
00325           {
00326             skip
00327               =   (space_p-eol_p)
00328               |   comment_p("//")     // C++ comment
00329               |   comment_p("/*", "*/")     // C comment
00330               ;
00331           }
00332         }


Member Function Documentation

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

Definition at line 334 of file Grammars.h.

00334 { return skip; }


Member Data Documentation

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

Definition at line 333 of file Grammars.h.


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

Generated at Mon Sep 7 18:26:01 2009 for Gaudi Framework, version v21r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004