ArkScript
A small, fast, functional and scripting language for video games
Ark::internal::CharPred Struct Referenceabstract

#include <Predicates.hpp>

Inheritance diagram for Ark::internal::CharPred:
[legend]
Collaboration diagram for Ark::internal::CharPred:
[legend]

Public Member Functions

 CharPred (std::string n)
 
virtual ~CharPred ()=default
 
virtual bool operator() (utf8_char_t::codepoint_t c) const =0
 

Public Attributes

const std::string name
 

Detailed Description

Definition at line 11 of file Predicates.hpp.

Constructor & Destructor Documentation

◆ CharPred()

Ark::internal::CharPred::CharPred ( std::string n)
inlineexplicit

Definition at line 15 of file Predicates.hpp.

◆ ~CharPred()

virtual Ark::internal::CharPred::~CharPred ( )
virtualdefault

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ name

const std::string Ark::internal::CharPred::name

Definition at line 13 of file Predicates.hpp.

Referenced by Ark::internal::BaseParser::expect().


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