Skip to content

class Crystal::FileNode
inherits Crystal::ASTNode

Fictitious node that means "all these nodes come from this file"

Class methods

.new(node : ASTNode, filename : String)

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

#filename : String

View source

#filename=(filename : String)

View source

#hash(hasher)

#node=(node : ASTNode)

View source