class Lexer(*T)

Defined in:

lexer.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.build(&) : self #

[View source]

Macro Detail

macro keywords(*kws) #

[View source]

Instance Method Detail

def lex(input : String, at) #

[View source]
def match(regex : Regex, result : Symbol) #

[View source]
def match(*symbols : Symbol) #

[View source]
def match(regex : Regex, symbol : Symbol, &result : Regex::MatchData -> Union(*T)) #

[View source]
def skip(regex : Regex) #

[View source]