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