Skip to content

abstract class Crystal::UnaryExpression
inherits Crystal::ASTNode

Direct known subclasses

Crystal::DoubleSplat Crystal::InstanceSizeOf Crystal::MacroVerbatim Crystal::Not Crystal::Out Crystal::PointerOf Crystal::SizeOf Crystal::Splat

Class methods

.new(exp)

View source

Methods

#==(other : self)

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

#accept_children(visitor)

View source

#exp=(exp : ASTNode)

View source

#hash(hasher)

#interpret(method : String, args : Array(ASTNode), named_args : Hash(String, ASTNode)?, block : Crystal::Block?, interpreter : Crystal::MacroInterpreter, name_loc : Location?)

View source