class MiniLexer

Direct Known Subclasses

Defined in:

models/minilexer/minilexer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def <<(t : Tuple(Symbol, String)) #

[View source]
def <<(t : Tuple(Symbol, Char)) #

[View source]
def <<(t : Tuple(Symbol, Char | String)) #

[View source]
def find(token_type : Symbol) : Array(Token) #

[View source]
def line : Int #

[View source]
def mode : Symbol #

[View source]
def mode=(mode : Symbol) #

[View source]
def mode=(mode : Symbol) #

[View source]
def start_repl #

[View source]
def tokenize(input : String) : Array(Token) #

[View source]
def tokenize_logic(input : String) : Array(Token) #

[View source]
def tokens : Array(Token) #

[View source]
def tokens=(tokens : Array(Token)) #

[View source]
def trace #

[View source]