module Kleene::LexerDSL

Included Modules

Defined in:

lexer.cr

Instance Method Summary

Instance methods inherited from module Kleene::DSL

any(token_collection, alphabet = DEFAULT_ALPHABET) any, append(a, b) append, append!(a, b) append!, dot(alphabet = DEFAULT_ALPHABET) dot, kleene(machine) kleene, literal(token_stream : String, alphabet = DEFAULT_ALPHABET) literal, optional(machine) optional, plus(machine) plus, range(c_begin : Char, c_end : Char, alphabet = DEFAULT_ALPHABET) range, seq(a : NFA, b : NFA)
seq(nfas : Array(NFA))
seq(*nfa_splat_tuple)
seq
, union(nfas : Array(NFA))
union(*nfa_splat_tuple)
union
, union!(nfas : Array(NFA)) union!, with_err(nfa, alphabet = nfa.alphabet) with_err, with_err!(nfa, alphabet = nfa.alphabet) with_err!, with_err_dead_end(nfa, alphabet = nfa.alphabet) with_err_dead_end, with_err_dead_end!(nfa, alphabet = nfa.alphabet) with_err_dead_end!

Instance Method Detail

def alpha #

[View source]
def alphanumeric #

[View source]
def letter #

[View source]
def numeric #

[View source]