Class: Faust2Ruby::AST::Program
Overview
Complete Faust program
Instance Attribute Summary collapse
-
#statements ⇒ Object
readonly
Returns the value of attribute statements.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(statements, **opts) ⇒ Program
constructor
A new instance of Program.
Constructor Details
#initialize(statements, **opts) ⇒ Program
Returns a new instance of Program.
21 22 23 24 |
# File 'lib/faust2ruby/ast.rb', line 21 def initialize(statements, **opts) super(**opts) @statements = statements end |
Instance Attribute Details
#statements ⇒ Object (readonly)
Returns the value of attribute statements.
19 20 21 |
# File 'lib/faust2ruby/ast.rb', line 19 def statements @statements end |