Class: Fdlint::Parser::JS::TryStatement
- Defined in:
- lib/fdlint/parser/js/struct.rb
Instance Attribute Summary collapse
-
#finally_part ⇒ Object
readonly
Returns the value of attribute finally_part.
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(try_part, catch_part, finally_part, pos) ⇒ TryStatement
constructor
A new instance of TryStatement.
Methods inherited from Statement
#end_with_semicolon=, #end_with_semicolon?
Methods inherited from Element
Constructor Details
#initialize(try_part, catch_part, finally_part, pos) ⇒ TryStatement
Returns a new instance of TryStatement.
191 192 193 194 |
# File 'lib/fdlint/parser/js/struct.rb', line 191 def initialize(try_part, catch_part, finally_part, pos) super 'try', try_part, catch_part, pos @finally_part = finally_part end |
Instance Attribute Details
#finally_part ⇒ Object (readonly)
Returns the value of attribute finally_part.
187 188 189 |
# File 'lib/fdlint/parser/js/struct.rb', line 187 def finally_part @finally_part end |