Method: Puppet::Pops::Model::Program#initialize
- Defined in:
- lib/puppet/pops/model/ast.rb
#initialize(locator, body = nil, definitions = _pcore_type['definitions'].value) ⇒ Program
Returns a new instance of Program.
4624 4625 4626 4627 4628 4629 4630 |
# File 'lib/puppet/pops/model/ast.rb', line 4624 def initialize(locator, body = nil, definitions = _pcore_type['definitions'].value) super() @hash = @hash ^ body.hash ^ definitions.hash ^ locator.hash @body = body @definitions = definitions @locator = locator end |