Class: Fdlint::Parser::JS::ForConditionElement

Inherits:
Element show all
Defined in:
lib/fdlint/parser/js/struct.rb

Instance Attribute Summary collapse

Attributes inherited from Element

#left, #right, #type

Instance Method Summary collapse

Methods inherited from Element

#contains?, #position, #text

Constructor Details

#initialize(type, first, second, third, pos) ⇒ ForConditionElement

Returns a new instance of ForConditionElement.



179
180
181
182
# File 'lib/fdlint/parser/js/struct.rb', line 179

def initialize(type, first, second, third, pos)
  super type, first, second
  @third = third
end

Instance Attribute Details

#thirdObject (readonly)

Returns the value of attribute third.



175
176
177
# File 'lib/fdlint/parser/js/struct.rb', line 175

def third
  @third
end