Class: Faust2Ruby::AST::Table

Inherits:
Node
  • Object
show all
Defined in:
lib/faust2ruby/ast.rb

Overview

Table operations: rdtable, rwtable

Instance Attribute Summary collapse

Attributes inherited from Node

#column, #line

Instance Method Summary collapse

Constructor Details

#initialize(type, args, **opts) ⇒ Table

Returns a new instance of Table.



243
244
245
246
247
# File 'lib/faust2ruby/ast.rb', line 243

def initialize(type, args, **opts)
  super(**opts)
  @type = type
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



241
242
243
# File 'lib/faust2ruby/ast.rb', line 241

def args
  @args
end

#typeObject (readonly)

Returns the value of attribute type.



241
242
243
# File 'lib/faust2ruby/ast.rb', line 241

def type
  @type
end