OpenASIP 2.2
Loading...
Searching...
No Matches
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'))
760 [SetStripPairActor(self.lastStrip)]
761 [push_back_a(self.strippedParts, self.lastStrip)]
762
763 |
764 ("/*" >> *(anychar_p - "*/") >> "*/")
765 [SetStripPairActor(self.lastStrip)]
766 [push_back_a(self.strippedParts, self.lastStrip)]
767
768 |
769 (+space_p)
770 [SetStripPairActor(self.lastStrip)]
771 [push_back_a(self.strippedParts, self.lastStrip)]
772 ;
773
774 }

References skip_grammar::lastStrip, skip_grammar::definition< ScannerT >::skip, and skip_grammar::strippedParts.

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; }

References skip_grammar::definition< ScannerT >::skip.

Member Data Documentation

◆ skip

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

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