class GolangLexer

Defined in:

minilexers/golang.cr

Constructors

Instance Method Summary

Instance methods inherited from class MiniLexer

<<(t : Tuple(Symbol, String))
<<(t : Tuple(Symbol, Char))
<<(t : Tuple(Symbol, Char | String))
<<
, find(token_type : Symbol) : Array(Token) find, line : Int line, mode : Symbol mode, mode=(mode : Symbol)
mode=(mode : Symbol)
mode=
, start_repl start_repl, tokenize(input : String) : Array(Token) tokenize, tokenize_logic(input : String) : Array(Token) tokenize_logic, tokens : Array(Token) tokens, tokens=(tokens : Array(Token)) tokens=, trace trace

Constructor methods inherited from class MiniLexer

new new

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def tokenize_logic(input : String) : Array(Token) #

[View source]