Class: Faust2Ruby::AST::Identifier

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

Overview

Identifier reference

Instance Attribute Summary collapse

Attributes inherited from Node

#column, #line

Instance Method Summary collapse

Constructor Details

#initialize(name, **opts) ⇒ Identifier

Returns a new instance of Identifier.



112
113
114
115
# File 'lib/faust2ruby/ast.rb', line 112

def initialize(name, **opts)
  super(**opts)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



110
111
112
# File 'lib/faust2ruby/ast.rb', line 110

def name
  @name
end