RetroArch
Public Member Functions | Public Attributes | List of all members
peg::Sequence Class Reference

#include <peglib.h>

Inheritance diagram for peg::Sequence:
[legend]
Collaboration diagram for peg::Sequence:
[legend]

Public Member Functions

 Sequence (const Sequence &rhs)
 
template<typename... Args>
 Sequence (const Args &...args)
 
 Sequence (const std::vector< std::shared_ptr< Ope >> &opes)
 
 Sequence (std::vector< std::shared_ptr< Ope >> &&opes)
 
size_t parse (const char *s, size_t n, SemanticValues &sv, Context &c, any &dt) const override
 
void accept (Visitor &v) override
 
- Public Member Functions inherited from peg::Ope
virtual ~Ope ()
 

Public Attributes

std::vector< std::shared_ptr< Ope > > opes_
 

Constructor & Destructor Documentation

◆ Sequence() [1/4]

peg::Sequence::Sequence ( const Sequence rhs)
inline

◆ Sequence() [2/4]

template<typename... Args>
peg::Sequence::Sequence ( const Args &...  args)
inline

◆ Sequence() [3/4]

peg::Sequence::Sequence ( const std::vector< std::shared_ptr< Ope >> &  opes)
inline

◆ Sequence() [4/4]

peg::Sequence::Sequence ( std::vector< std::shared_ptr< Ope >> &&  opes)
inline

Member Function Documentation

◆ accept()

void peg::Sequence::accept ( Visitor v)
inlineoverridevirtual

Implements peg::Ope.

◆ parse()

size_t peg::Sequence::parse ( const char *  s,
size_t  n,
SemanticValues sv,
Context c,
any dt 
) const
inlineoverridevirtual

Implements peg::Ope.

Here is the call graph for this function:

Member Data Documentation

◆ opes_

std::vector<std::shared_ptr<Ope> > peg::Sequence::opes_

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