Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
lit
main
Top Level Namespace
Lit
Debug
Environment
Expr
Assign
Binary
Grouping
Literal
Logical
Ternary
Unary
Variable
Visitor
Formatter
Interpreter
Lit
Parser
ParserError
REPL
RuntimeError
Scanner
Stmt
Expression
Let
Print
Visitor
Text
Token
TokenType
Value
Built with Crystal 1.9.2
2023-10-07 17:40:29 UTC
class
Lit::Expr::Unary
Lit::Expr::Unary
Lit::Expr
Reference
Object
Defined in:
lit/expr.cr
Constructors
.new
(operator : ::Lit::Token, right : ::Lit::Expr)
Instance Method Summary
#accept
(visitor : Visitor)
#operator
: Token
#right
: Expr
Instance methods inherited from class
Lit::Expr
accept(visitor : Visitor)
accept
Constructor Detail
def self.
new
(operator :
::Lit::Token
, right :
::Lit::Expr
)
#
[
View source
]
Instance Method Detail
def
accept
(visitor :
Visitor
)
#
[
View source
]
def
operator
:
Token
#
[
View source
]
def
right
:
Expr
#
[
View source
]