struct

Panini::Alphabet

Inherits Struct < Value < Object

Constants

EPSILON = ""
NIL = Alphabet.new

an empty alphabet used as a dummy placeholder, esp. for PHI and EPSILON languages also used to denote that alphabet set need not be used for validating strings for a given language

Constructors

new(symbols : Set(Char) = Set(Char).new)
Source

Class methods

from(*chars : Char)
Source

Instance methods

**(exponent)
Source
|(other)
Source
defines?(string)
Source
powers
Source
symbols
Source