Method: Puppet::Pops::Model::BlockExpression#initialize
- Defined in:
- lib/puppet/pops/model/ast.rb
#initialize(locator, offset, length, statements = _pcore_type['statements'].value) ⇒ BlockExpression
Returns a new instance of BlockExpression.
1187 1188 1189 1190 1191 |
# File 'lib/puppet/pops/model/ast.rb', line 1187 def initialize(locator, offset, length, statements = _pcore_type['statements'].value) super(locator, offset, length) @hash = @hash ^ statements.hash @statements = statements end |