class CLTK::Lexers::Calculator

Overview

The Calculator lexer is a simple lexer for use with several of the provided parsers.

Extended Modules

Defined in:

cltk/lexers/calculator.cr

Class Method Summary

Instance Method Summary

Class methods inherited from class CLTK::Scanner

finalize finalize, lex(string : String) : Environment lex, split_lines : Bool split_lines, split_lines=(split_lines : Bool) split_lines=

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Class Method Detail

def self.lex(string) #

[View source]

Instance Method Detail

def lex(string) #

[View source]