Class: XRay::JS::Statement
Direct Known Subclasses
BlockStatement, CaseBlockStatement, DowhileStatement, ExpressionStatement, ForStatement, IfStatement, SwitchStatement, TryStatement, VarStatement, WhileStatement
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
Methods inherited from Element
#contains?, #initialize, #position, #text
Constructor Details
This class inherits a constructor from XRay::JS::Element
Instance Method Details
#end_with_semicolon=(end_with_semicolon) ⇒ Object
82 83 84 |
# File 'lib/js/struct.rb', line 82 def end_with_semicolon=(end_with_semicolon) @end_with_semicolon = !!end_with_semicolon end |
#end_with_semicolon? ⇒ Boolean
86 87 88 |
# File 'lib/js/struct.rb', line 86 def end_with_semicolon? @end_with_semicolon || false end |