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
struct
Token
Token
Struct
Value
Object
Defined in:
calc.cr
Constructors
.new
(type : String, value : String | Char)
Instance Method Summary
#inspect
(io)
#type
: String
#value
: Char | String
Constructor Detail
def self.
new
(type : String, value : String | Char)
#
[
View source
]
Instance Method Detail
def
inspect
(io)
#
[
View source
]
def
type
: String
#
[
View source
]
def
value
: Char | String
#
[
View source
]