Gaudi::Parsers::SkipperGrammar< Iterator >::definition Struct Reference

#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/825/GAUDI/GAUDI_v26r3/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/Grammars.h>

Public Member Functions

 definition (SkipperGrammar const &self)
 
rule< ScannerT > const & start () const
 
 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.

322  {
323  if ( self.skipnewline() )
324  {
325  skip
326  = space_p
327  | comment_p("//") // C++ comment
328  | comment_p("/*", "*/") // C comment
329  ;
330  }
331  else
332  {
333  skip
334  = (space_p-eol_p)
335  | comment_p("//") // C++ comment
336  | comment_p("/*", "*/") // C comment
337  ;
338  }
339  }
template<typename Iterator >
Gaudi::Parsers::SkipperGrammar< Iterator >::definition::definition ( SkipperGrammar const &  self)
inline

Definition at line 321 of file Grammars.h.

322  {
323  if ( self.skipnewline() )
324  {
325  skip
326  = space_p
327  | comment_p("//") // C++ comment
328  | comment_p("/*", "*/") // C comment
329  ;
330  }
331  else
332  {
333  skip
334  = (space_p-eol_p)
335  | comment_p("//") // C++ comment
336  | comment_p("/*", "*/") // C comment
337  ;
338  }
339  }

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.

341 { return skip; }
template<typename Iterator >
rule<ScannerT> const& Gaudi::Parsers::SkipperGrammar< Iterator >::definition::start ( ) const
inline

Definition at line 341 of file Grammars.h.

341 { 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: