Skip to content

abstract class Crystal::BinaryOp
inherits Crystal::ASTNode

Direct known subclasses

Crystal::And Crystal::Or

Class methods

.new(left, right)

View source

Methods

#==(other : self)

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

#accept_children(visitor)

View source

#end_location

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

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

#left=(left : ASTNode)

View source

#right=(right : ASTNode)

View source