Class: Fdlint::Parser::JS::Statement
- Defined in:
- lib/fdlint/parser/js/struct.rb
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 Fdlint::Parser::JS::Element
Instance Method Details
#end_with_semicolon=(end_with_semicolon) ⇒ Object
90 91 92 |
# File 'lib/fdlint/parser/js/struct.rb', line 90 def end_with_semicolon=(end_with_semicolon) @end_with_semicolon = !!end_with_semicolon end |
#end_with_semicolon? ⇒ Boolean
94 95 96 |
# File 'lib/fdlint/parser/js/struct.rb', line 94 def end_with_semicolon? !!@end_with_semicolon end |