Class: Fdlint::Parser::JS::SwitchStatement
- Defined in:
- lib/fdlint/parser/js/struct.rb
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(expression, case_block, position) ⇒ SwitchStatement
constructor
A new instance of SwitchStatement.
Methods inherited from Statement
#end_with_semicolon=, #end_with_semicolon?
Methods inherited from Element
Constructor Details
#initialize(expression, case_block, position) ⇒ SwitchStatement
Returns a new instance of SwitchStatement.
131 132 133 |
# File 'lib/fdlint/parser/js/struct.rb', line 131 def initialize(expression, case_block, position) super 'switch', expression, case_block, position end |