Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
calc
master
AST
BinOp
Interpreter
InterpreterLISP
InterpreterRPN
Lexer
Num
Parser
Token
UnaryOp
Built with Crystal 1.9.2
2023-10-07 18:19:56 UTC
class
Lexer
Lexer
Reference
Object
Defined in:
calc.cr
Constructors
.new
(data : String)
Instance Method Summary
#digit_string
: String
#tokenize
Constructor Detail
def self.
new
(data : String)
#
[
View source
]
Instance Method Detail
def
digit_string
: String
#
[
View source
]
def
tokenize
#
[
View source
]