Class: Fdlint::Parser::JS::WhileStatement
- Defined in:
- lib/fdlint/parser/js/struct.rb
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(condition, body, pos) ⇒ WhileStatement
constructor
A new instance of WhileStatement.
Methods inherited from Statement
#end_with_semicolon=, #end_with_semicolon?
Methods inherited from Element
Constructor Details
#initialize(condition, body, pos) ⇒ WhileStatement
Returns a new instance of WhileStatement.
160 161 162 |
# File 'lib/fdlint/parser/js/struct.rb', line 160 def initialize(condition, body, pos) super 'while', condition, body, pos end |