class

Syntax::Cast

Inherits Syntax::ASTNode < Reference < Object

obj as to

Constructors

new(obj : ASTNode, to : ASTNode)
Source

Instance methods

==(other : self)

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

accept_children(visitor)
Source
clone_without_location
Source
end_location

The location where this node ends, or nil if the location is not known.

Source
hash(hasher)

See Object#hash(hasher)

obj=(obj : ASTNode)
Source
to=(to : ASTNode)
Source