struct Mint::Ast::Node::Location

Included Modules

Defined in:

ast/node.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(filename : String, start : Tuple(Int64, Int64), end __arg0 : Tuple(Int64, Int64)) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def contains?(line : Int64, column : Int64) #

[View source]
def contains?(line : Int64) #

[View source]
def end : Position #

Ending line and column number of the Node, this Location belongs to.


[View source]
def filename : String #

Relative file path of the Node, this Location belongs to.


[View source]
def start : Position #

Starting line and column number of the Node, this Location belongs to.


[View source]