OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
skip_grammar::definition< ScannerT > Struct Template Reference

#include <OperationDAGLanguageParser.hh>

Collaboration diagram for skip_grammar::definition< ScannerT >:
Collaboration graph

Public Member Functions

 definition (skip_grammar const &self)
 
rule< ScannerT > const & start () const
 

Public Attributes

rule< ScannerT > skip
 

Detailed Description

template<typename ScannerT>
struct skip_grammar::definition< ScannerT >

Definition at line 754 of file OperationDAGLanguageParser.hh.

Constructor & Destructor Documentation

◆ definition()

template<typename ScannerT >
skip_grammar::definition< ScannerT >::definition ( skip_grammar const &  self)
inline

Definition at line 756 of file OperationDAGLanguageParser.hh.

757  {
758  skip =
759  (str_p("//") >> *(anychar_p - '\n') >> ch_p('\n'))
761  [push_back_a(self.strippedParts, self.lastStrip)]
762 
763  |
764  ("/*" >> *(anychar_p - "*/") >> "*/")
766  [push_back_a(self.strippedParts, self.lastStrip)]
767 
768  |
769  (+space_p)
771  [push_back_a(self.strippedParts, self.lastStrip)]
772  ;
773 
774  }

Member Function Documentation

◆ start()

template<typename ScannerT >
rule<ScannerT> const& skip_grammar::definition< ScannerT >::start ( ) const
inline

Definition at line 779 of file OperationDAGLanguageParser.hh.

779 { return skip; }

Member Data Documentation

◆ skip

template<typename ScannerT >
rule<ScannerT> skip_grammar::definition< ScannerT >::skip

Definition at line 776 of file OperationDAGLanguageParser.hh.


The documentation for this struct was generated from the following file:
skip_grammar::definition::skip
rule< ScannerT > skip
Definition: OperationDAGLanguageParser.hh:776
skip_grammar::strippedParts
std::vector< std::pair< const char *, const char * > > strippedParts
Definition: OperationDAGLanguageParser.hh:783
skip_grammar::lastStrip
std::pair< const char *, const char * > lastStrip
Definition: OperationDAGLanguageParser.hh:784
SetStripPairActor
Definition: OperationDAGLanguageParser.hh:735