Class: Maps::TreeNode12

Inherits:
TreeNode show all
Defined in:
lib/rookout/processor/paths/canopy/maps.rb

Instance Attribute Summary collapse

Attributes inherited from TreeNode

#elements, #offset, #text

Instance Method Summary collapse

Methods inherited from TreeNode

#each

Constructor Details

#initialize(text, offset, elements) ⇒ TreeNode12

Returns a new instance of TreeNode12.



124
125
126
127
128
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 124

def initialize(text, offset, elements)
  super
  @atom = elements[0]
  @__ = elements[1]
end

Instance Attribute Details

#__Object (readonly)

Returns the value of attribute __.



122
123
124
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 122

def __
  @__
end

#atomObject (readonly)

Returns the value of attribute atom.



122
123
124
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 122

def atom
  @atom
end