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

#include <peglib.h>

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

Public Member Functions

template<typename... Args>
 PrioritizedChoice (const Args &...args)
 
 PrioritizedChoice (const std::vector< std::shared_ptr< Ope >> &opes)
 
 PrioritizedChoice (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
 
size_t size () const
 
- Public Member Functions inherited from peg::Ope
virtual ~Ope ()
 

Public Attributes

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

Constructor & Destructor Documentation

◆ PrioritizedChoice() [1/3]

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

◆ PrioritizedChoice() [2/3]

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

◆ PrioritizedChoice() [3/3]

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

Member Function Documentation

◆ accept()

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

Implements peg::Ope.

◆ parse()

size_t peg::PrioritizedChoice::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:

◆ size()

size_t peg::PrioritizedChoice::size ( ) const
inline

Member Data Documentation

◆ opes_

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

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