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

#include <peglib.h>

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

Public Member Functions

 LiteralString (const std::string &s)
 
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 lit_
 

Constructor & Destructor Documentation

◆ LiteralString()

peg::LiteralString::LiteralString ( const std::string s)
inline

Member Function Documentation

◆ accept()

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

Implements peg::Ope.

◆ parse()

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

◆ lit_

std::string peg::LiteralString::lit_

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