Skip to content

class Crystal::RangeLiteral
inherits Crystal::ASTNode

Included modules

Crystal::ExpandableNode

Class methods

.new(from, to, exclusive)

View source

Methods

#==(other : self)

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

#accept_children(visitor)

View source

#clone_without_location

View source

#exclusive=(exclusive : Bool)

View source

#exclusive? : Bool

View source

#from=(from : 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

#interpret_map

View source

#interpret_to_range(interpreter)

View source

#to=(to : ASTNode)

View source