Skip to content

class Crystal::Doc::RelativeLocation
inherits Reference

Included modules

Comparable

Class methods

.from(node : ASTNode, base_dir : String)

View source

.from(location : Location, base_dir : String)

View source

.new(filename : String, line_number : Int32)

View source

Methods

#<=>(other : self)

View source

#==(other : self)

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

#filename : String

View source

#filename_in_project

View source

#hash(hasher)

#line_number : Int32

View source

#show_line_number : Bool

View source

#show_line_number=(show_line_number : Bool)

View source

#to_json(builder : JSON::Builder)

View source

#url : String?

This property is only used to keep backwards compatibility in JSON output.

View source

#url=(url : String?)

This property is only used to keep backwards compatibility in JSON output.

View source