class Mint::Ast::Provider

Defined in:

ast/provider.cr

Constructors

Instance Method Summary

Instance methods inherited from class Mint::Ast::Node

file : Parser::File file, from : Int64 from, from=(from : Int64) from=, location : Location location, new_line? new_line?, parent : Node | Nil parent, parent=(parent : Node | Nil) parent=, source source, to : Int64 to, to_tuple to_tuple

Constructor methods inherited from class Mint::Ast::Node

new(file : Mint::Parser::File, from : Int64, to : Int64) new

Class methods inherited from class Mint::Ast::Node

compute_location(file : Parser::File, from, to) compute_location, compute_position(lines, needle) : Position compute_position

Constructor Detail

def self.new(functions : Array(Function), constants : Array(Constant), comments : Array(Comment), states : Array(State), subscription : Id, file : Parser::File, comment : Comment | Nil, gets : Array(Get), name : Id, from : Int64, to : Int64) #

[View source]

Instance Method Detail

def comment : Mint::Ast::Comment? #

[View source]
def comments : Array(Mint::Ast::Comment) #

[View source]
def constants : Array(Mint::Ast::Constant) #

[View source]
def functions : Array(Mint::Ast::Function) #

[View source]
def gets : Array(Mint::Ast::Get) #

[View source]
def name : Mint::Ast::Id #

[View source]
def states : Array(Mint::Ast::State) #

[View source]
def subscription : Mint::Ast::Id #

[View source]