class Z::Ast::Fn

Defined in:

ast/node.cr

Constructors

Instance Method Summary

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

accept(visitor : Visitor, io : IO) accept, name name

Constructor Detail

def self.new(name : String, params : Array(FnParam), statements : Array(Node), offset : Int32) #

[View source]

Instance Method Detail

def ==(o) #
Description copied from class Reference

Returns false (other can only be a Value here).


[View source]
def inspect(io) #

[View source]
def name : String #

def name=(name : String) #

def offset : Int32 #

def offset=(offset : Int32) #

def params : Array(FnParam) #

def params=(params : Array(FnParam)) #

def statements : Array(Node) #

def statements=(statements : Array(Node)) #

def to_s(io) #

[View source]