Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
learning-compilers
master
Ast
Assign
Binary
Block
Expression
Grouping
If
Literal
Logical
Print
Statement
Stmt
Unary
Value
Var
Variable
While
Interpreter
Environment
Interpreter
InvalidType
Literal
RuntimeException
Parser
InvalidToken
Parser
Program
SafeReader
Scanner
Token
Token
Type
Built with Crystal 1.9.2
2023-10-07 21:42:51 UTC
class
Ast::Literal
Ast::Literal
Ast::Expression
Reference
Object
Defined in:
ast/ast.cr
Constructors
.new
(value : String | Float32 | Bool | Nil)
Instance Method Summary
#display
#value
: String | Float32 | Bool | Nil
Constructor Detail
def self.
new
(value : String | Float32 | Bool | Nil)
#
[
View source
]
Instance Method Detail
def
display
#
[
View source
]
def
value
: String | Float32 | Bool | Nil
#