Method: Puppet::Pops::Model::CaseExpression#initialize

Defined in:
lib/puppet/pops/model/ast.rb

#initialize(locator, offset, length, test, options = _pcore_type['options'].value) ⇒ CaseExpression

Returns a new instance of CaseExpression.



1378
1379
1380
1381
1382
1383
# File 'lib/puppet/pops/model/ast.rb', line 1378

def initialize(locator, offset, length, test, options = _pcore_type['options'].value)
  super(locator, offset, length)
  @hash = @hash ^ test.hash ^ options.hash
  @test = test
  @options = options
end