Class: Maps::TreeNode8

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

Returns a new instance of TreeNode8.



87
88
89
90
91
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 87

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

Instance Attribute Details

#__Object (readonly)

Returns the value of attribute __.



85
86
87
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 85

def __
  @__
end

#comp_expressionObject (readonly)

Returns the value of attribute comp_expression.



85
86
87
# File 'lib/rookout/processor/paths/canopy/maps.rb', line 85

def comp_expression
  @comp_expression
end