Class: Melbourne::AST::Script

Inherits:
Container show all
Defined in:
lib/melbourne/ast/definitions.rb

Overview

TODO: document!

Instance Attribute Summary

Attributes inherited from Container

#file, #name, #variable_scope

Attributes inherited from ClosedScope

#body

Attributes inherited from Node

#line

Instance Method Summary collapse

Methods inherited from Node

#ascii_graph

Constructor Details

#initialize(body) ⇒ Script



535
536
537
538
# File 'lib/melbourne/ast/definitions.rb', line 535

def initialize(body)
  super body
  @name = :__script__
end