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
BinOp
BinOp
AST
Reference
Object
Defined in:
calc.cr
Constructors
.new
(left : AST, op : Token, right : AST)
Instance Method Summary
#left
: AST
#op
: Token
#right
: AST
Constructor Detail
def self.
new
(left :
AST
, op :
Token
, right :
AST
)
#
[
View source
]
Instance Method Detail
def
left
:
AST
#
[
View source
]
def
op
:
Token
#
[
View source
]
def
right
:
AST
#
[
View source
]