Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Ast::Const
Inherits
Ast::Expr
<
IrNode
<
Struct
<
Value
<
Object
Constructors
new
(location :
Location
, name : ::
String
, value :
Cell
(
Expr
) | ::
Nil
= nil)
Source
new
(location :
Location
, name : ::
String
, value :
Expr
)
Source
Instance methods
location
Source
location=
(location :
Location
)
Source
name
Source
name=
(name : ::
String
)
Source
to_s
(io :
IO
)
Same as
#inspect(io)
.
Source
value
Source
value=
(value :
Cell
(
Expr
) | ::
Nil
)
Source