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

#include <peglib.h>

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

Public Member Functions

 CharacterClass (const std::string &chars)
 
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::string chars_
 

Constructor & Destructor Documentation

◆ CharacterClass()

peg::CharacterClass::CharacterClass ( const std::string chars)
inline

Member Function Documentation

◆ accept()

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

Implements peg::Ope.

◆ parse()

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

Implements peg::Ope.

Member Data Documentation

◆ chars_

std::string peg::CharacterClass::chars_

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