Class: XRay::JS::SwitchStatement
- Defined in:
- lib/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.
123 124 125 |
# File 'lib/js/struct.rb', line 123 def initialize(expression, case_block, position) super 'switch', expression, case_block, position end |