| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

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

`#include <Grammars.h>`

List of all members.

## Public Member Functions
| definition (SkipperGrammar const &self)
rule< ScannerT > const & | start () const
## Public Attributes
rule< ScannerT > | skip

## Detailed Description

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

Definition at line 314 of file Grammars.h.

## 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:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r7/GaudiKernel/GaudiKernel/Grammars.h