class

Syntax::NumberLiteral

Inherits Syntax::ASTNode < Reference < Object

Any number literal.

Constructors

new(value : String, kind : NumberKind = :i32)
Source
new(value : Number)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

Source
clone_without_location
Source
has_sign?
Source
hash(hasher)

See Object#hash(hasher)

Source
integer_value
Source
kind
Source
kind=(kind : NumberKind)
Source
value
Source
value=(value : String)
Source