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::Stmt::Let
Lit::Stmt::Let
Lit::Stmt
Reference
Object
Defined in:
lit/stmt.cr
Constructors
.new
(name : ::Lit::Token, initializer : ::Lit::Expr)
Instance Method Summary
#accept
(visitor : Visitor)
#initializer
: Expr
#name
: Token
Instance methods inherited from class
Lit::Stmt
accept(visitor : Visitor)
accept
Constructor Detail
def self.
new
(name :
::Lit::Token
, initializer :
::Lit::Expr
)
#
[
View source
]
Instance Method Detail
def
accept
(visitor :
Visitor
)
#
[
View source
]
def
initializer
:
Expr
#
[
View source
]
def
name
:
Token
#
[
View source
]