Syntax::Cast
Inherits Syntax::ASTNode < Reference < Object
obj as to
Constructors
new(obj : ASTNode, to : ASTNode)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourceclone_without_location
Sourcehash(hasher)
See Object#hash(hasher)
obj
Sourceobj=(obj : ASTNode)
Sourceto
Sourceto=(to : ASTNode)
Source