class Axal::AST::ModuleDefinition

Defined in:

lang/ast/module_definition.cr

Constructors

Instance Method Summary

Instance methods inherited from class Axal::AST::Expression

==(other) ==, children children, type type, value : Expression | ::Nil | String | ::Nil | Float64 | ::Nil | Bool | ::Nil value

Constructor methods inherited from class Axal::AST::Expression

new(value : Axal::AST::Expression | Bool | Float64 | String | ::Nil = nil) new

Constructor Detail

def self.new(name : Axal::AST::Identifier, body : ::Nil | Axal::AST::Block = nil) #

[View source]

Instance Method Detail

def ==(other : Expression) #

[View source]
def body : Block | ::Nil #

[View source]
def body=(body : Block | ::Nil) #

[View source]
def children #

[View source]
def module_name_as_str #

[View source]
def name : Identifier #

[View source]