| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Public Member Functions | Public Attributes

# Gaudi::Parsers::SkipperGrammar< Iterator >::definition Struct 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 Iterator>
struct Gaudi::Parsers::SkipperGrammar< Iterator >::definition

Definition at line 319 of file Grammars.h.

## Constructor & Destructor Documentation

template<typename Iterator >

Gaudi::Parsers::SkipperGrammar< Iterator >::definition::definition | ( | SkipperGrammar const & | self ) | `[inline]`

Definition at line 321 of file Grammars.h.

            {
              if ( self.skipnewline() )
              {
                skip
                  =   space_p
                  |   comment_p("//")     // C++ comment
                  |   comment_p("/*", "*/")     // C comment
                  ;
              }
              else
              {
                skip
                  =   (space_p-eol_p)
                  |   comment_p("//")     // C++ comment
                  |   comment_p("/*", "*/")     // C comment
                  ;
              }
            }

## Member Function Documentation

template<typename Iterator >

rule<ScannerT> const& Gaudi::Parsers::SkipperGrammar< Iterator >::definition::start | ( | ) | const`[inline]`

Definition at line 341 of file Grammars.h.

    { return skip; }

## Member Data Documentation

template<typename Iterator >

rule<ScannerT> Gaudi::Parsers::SkipperGrammar< Iterator >::definition::skip

Definition at line 340 of file Grammars.h.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines