class Lexer(*T)

Defined in:

lexer.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.build(&) : self #

[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]

Macro Detail

macro keywords(*kws) #

[View source]