abstract class CLTK::Lexer

Overview

The Lexer class may be sub-classed to produce new lexers. These lexers have a lot of features, and are described in the main documentation.

Defined in:

cltk/lexer/exceptions.cr
cltk/lexer/environment.cr
cltk/lexer.cr

Instance Method Summary

Macro Summary

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Instance Method Detail

def env #

@return [Environment] Environment used by an instantiated lexer.


[View source]

Macro Detail

macro rule(rule, state = :default, flags = [] of Symbol) #

[View source]