Class: Maps::TreeNode17

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) ⇒ TreeNode17

Returns a new instance of TreeNode17.



171
172
173
174
175
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 171

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

Instance Attribute Details

#__Object (readonly)

Returns the value of attribute __.



169
170
171
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 169

def __
  @__
end

#dataObject (readonly)

Returns the value of attribute data.



169
170
171
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 169

def data
  @data
end