reglibcpp
1.0.0
(Naïve) C++ implementation of models for regular languages
|
Token literals as used in Introduction to Automata Theory, Languages, and Computation by Hopcroft, Motwani and Ullman. More...
#include <expression.h>
Public Member Functions | |
literals (char32_t plus=U'+', char32_t empty=U '∅', char32_t epsilon=U 'ε', char32_t star=U' *', char32_t rPar=U')', char32_t lPar=U'(') | |
Public Attributes | |
char32_t const | L |
The left parenthesis. More... | |
char32_t const | R |
The right parenthesis. More... | |
char32_t const | S |
The Kleene star. More... | |
char32_t const | P |
The alternation symbol. More... | |
char32_t const | EPSILON |
Neutral element of concatenation, a.k.a. empty string. More... | |
char32_t const | EMPTY |
Neutral element of alternation and annihilating element of concatenation, a.k.a. empty set. One may supply one's own literals for operators. More... | |
Token literals as used in Introduction to Automata Theory, Languages, and Computation by Hopcroft, Motwani and Ullman.
Definition at line 52 of file expression.h.
|
inline |
plus | literal for alternation symbol |
empty | literal for the empty set |
epsilon | literal for the empty string |
star | literal for the kleene star |
rPar | literal for the right parenthesis |
lPar | literal for the left parenthesis |
Definition at line 69 of file expression.h.
char32_t const reg::expression::literals::EMPTY |
Neutral element of alternation and annihilating element of concatenation, a.k.a. empty set. One may supply one's own literals for operators.
Definition at line 53 of file expression.h.
char32_t const reg::expression::literals::EPSILON |
Neutral element of concatenation, a.k.a. empty string.
Definition at line 53 of file expression.h.
char32_t const reg::expression::literals::L |
The left parenthesis.
Definition at line 53 of file expression.h.
char32_t const reg::expression::literals::P |
The alternation symbol.
Definition at line 53 of file expression.h.
char32_t const reg::expression::literals::R |
The right parenthesis.
Definition at line 53 of file expression.h.
char32_t const reg::expression::literals::S |
The Kleene star.
Definition at line 53 of file expression.h.