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

#include <peglib.h>

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

Public Member Functions

 Holder (Definition *outer)
 
size_t parse (const char *s, size_t n, SemanticValues &sv, Context &c, any &dt) const override
 
void accept (Visitor &v) override
 
any reduce (const SemanticValues &sv, any &dt) const
 
- Public Member Functions inherited from peg::Ope
virtual ~Ope ()
 

Public Attributes

std::shared_ptr< Opeope_
 
Definitionouter_
 

Friends

class Definition
 

Constructor & Destructor Documentation

◆ Holder()

peg::Holder::Holder ( Definition outer)
inline

Member Function Documentation

◆ accept()

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

Implements peg::Ope.

◆ parse()

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

◆ reduce()

any peg::Holder::reduce ( const SemanticValues sv,
any dt 
) const
inline
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ Definition

friend class Definition
friend

Member Data Documentation

◆ ope_

std::shared_ptr<Ope> peg::Holder::ope_

◆ outer_

Definition* peg::Holder::outer_

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