Class: Fdlint::Parser::JS::DowhileStatement

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

Instance Attribute Summary

Attributes inherited from Element

#left, #right, #type

Instance Method Summary collapse

Methods inherited from Statement

#end_with_semicolon=, #end_with_semicolon?

Methods inherited from Element

#contains?, #position, #text

Constructor Details

#initialize(body, condition, pos) ⇒ DowhileStatement

Returns a new instance of DowhileStatement.



151
152
153
# File 'lib/fdlint/parser/js/struct.rb', line 151

def initialize(body, condition, pos)
  super 'dowhile', body, condition, pos
end