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(Int32, Int32), end __arg0 : Tuple(Int32, Int32)) #

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

[View source]

Instance Method Detail

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

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

[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]