Class: Fdlint::Parser::JS::CaseBlockStatement
- Defined in:
- lib/fdlint/parser/js/struct.rb
Instance Attribute Summary collapse
-
#bottom_case_clauses ⇒ Object
readonly
Returns the value of attribute bottom_case_clauses.
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(case_clauses, default_clause, bottom_case_clauses, position) ⇒ CaseBlockStatement
constructor
A new instance of CaseBlockStatement.
Methods inherited from Statement
#end_with_semicolon=, #end_with_semicolon?
Methods inherited from Element
Constructor Details
#initialize(case_clauses, default_clause, bottom_case_clauses, position) ⇒ CaseBlockStatement
Returns a new instance of CaseBlockStatement.
141 142 143 144 |
# File 'lib/fdlint/parser/js/struct.rb', line 141 def initialize(case_clauses, default_clause, bottom_case_clauses, position) super 'caseblock', case_clauses, default_clause, position @bottom_case_clauses = bottom_case_clauses end |
Instance Attribute Details
#bottom_case_clauses ⇒ Object (readonly)
Returns the value of attribute bottom_case_clauses.
137 138 139 |
# File 'lib/fdlint/parser/js/struct.rb', line 137 def bottom_case_clauses @bottom_case_clauses end |