class Mint::Ast::Statement

Defined in:

ast/statement.cr

Constructors

Instance Method Summary

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

contains?(line : Int64, column : Int64)
contains?(line : Int64)
contains?
, file : Parser::File file, from : Parser::Location from, from=(from : Parser::Location) from=, new_line? new_line?, parent : Node | Nil parent, parent=(parent : Node | Nil) parent=, source : String source, to : Parser::Location to

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

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

Constructor Detail

def self.new(from : Parser::Location, to : Parser::Location, return_value : Node | Nil, file : Parser::File, expression : Node, target : Node | Nil) #

[View source]

Instance Method Detail

def expression : Mint::Ast::Node #

[View source]
def if_node : Ast::If | Nil #

[View source]
def if_node=(if_node : Ast::If | Nil) #

[View source]
def only_expression? #

[View source]
def return_value : Mint::Ast::Node? #

[View source]
def target : Mint::Ast::Node? #

[View source]