Class: Faust2Ruby::AST::Letrec
Overview
Letrec clause: letrec { defs }
Instance Attribute Summary collapse
-
#definitions ⇒ Object
readonly
Returns the value of attribute definitions.
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(definitions, expression, **opts) ⇒ Letrec
constructor
A new instance of Letrec.
Constructor Details
#initialize(definitions, expression, **opts) ⇒ Letrec
Returns a new instance of Letrec.
195 196 197 198 199 |
# File 'lib/faust2ruby/ast.rb', line 195 def initialize(definitions, expression, **opts) super(**opts) @definitions = definitions @expression = expression end |
Instance Attribute Details
#definitions ⇒ Object (readonly)
Returns the value of attribute definitions.
193 194 195 |
# File 'lib/faust2ruby/ast.rb', line 193 def definitions @definitions end |
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
193 194 195 |
# File 'lib/faust2ruby/ast.rb', line 193 def expression @expression end |