Class: XRay::JS::BlockStatement
- Defined in:
- lib/js/struct.rb
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(elements, pos) ⇒ BlockStatement
constructor
A new instance of BlockStatement.
Methods inherited from Statement
#end_with_semicolon=, #end_with_semicolon?
Methods inherited from Element
Constructor Details
#initialize(elements, pos) ⇒ BlockStatement
Returns a new instance of BlockStatement.
103 104 105 |
# File 'lib/js/struct.rb', line 103 def initialize(elements, pos) super 'block', elements, nil, pos end |