Skip to content

class Crystal::IsA
inherits Crystal::ASTNode

Class methods

.new(obj, const, nil_check = false)

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

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

#nil_check=(nil_check : Bool)

View source

#nil_check? : Bool

View source

#obj=(obj : ASTNode)

View source

#syntax_replacement : Call?

View source

#syntax_replacement=(syntax_replacement : Call?)

View source