Class: Melbourne::AST::Container
- Inherits:
-
ClosedScope
- Object
- Node
- ClosedScope
- Melbourne::AST::Container
- Defined in:
- lib/melbourne/ast/definitions.rb
Overview
TODO: document!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#name ⇒ Object
Returns the value of attribute name.
-
#variable_scope ⇒ Object
Returns the value of attribute variable_scope.
Attributes inherited from ClosedScope
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(body) ⇒ Container
constructor
A new instance of Container.
Methods inherited from Node
Constructor Details
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
504 505 506 |
# File 'lib/melbourne/ast/definitions.rb', line 504 def file @file end |
#name ⇒ Object
Returns the value of attribute name.
504 505 506 |
# File 'lib/melbourne/ast/definitions.rb', line 504 def name @name end |
#variable_scope ⇒ Object
Returns the value of attribute variable_scope.
504 505 506 |
# File 'lib/melbourne/ast/definitions.rb', line 504 def variable_scope @variable_scope end |