class Mint::Ast::Node

Direct Known Subclasses

Defined in:

ast/node.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(file : Mint::Parser::File, from : Int64, to : Int64) #

[View source]

Class Method Detail

def self.compute_location(file : Parser::File, from, to) #

[View source]
def self.compute_position(lines, needle) : Position #

[View source]

Instance Method Detail

def file : Parser::File #

[View source]
def from : Int64 #

[View source]
def from=(from : Int64) #

[View source]
def location : Location #

[View source]
def new_line? #

[View source]
def parent : Node | Nil #

[View source]
def parent=(parent : Node | Nil) #

[View source]
def source #

[View source]
def to : Int64 #

[View source]
def to_tuple #

[View source]