Class: FAM::Syntax::AST::IdentNode

Inherits:
Object
  • Object
show all
Defined in:
lib/fam/syntax/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ IdentNode

Returns a new instance of IdentNode.



116
117
118
# File 'lib/fam/syntax/ast.rb', line 116

def initialize name
  @name = name.name
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



115
116
117
# File 'lib/fam/syntax/ast.rb', line 115

def name
  @name
end