Class: Reggae::Instance

Inherits:
Struct
  • Object
show all
Includes:
Visitable
Defined in:
lib/reggae/ast.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Visitable

#accept

Instance Attribute Details

#mappingObject

Returns the value of attribute mapping

Returns:

  • (Object)

    the current value of mapping



34
35
36
# File 'lib/reggae/ast.rb', line 34

def mapping
  @mapping
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



34
35
36
# File 'lib/reggae/ast.rb', line 34

def name
  @name
end