Method: Puppet::Pops::Types::PInitType#accept

Defined in:
lib/puppet/pops/types/p_init_type.rb

#accept(visitor, guard) ⇒ Object



201
202
203
204
205
206
207
# File 'lib/puppet/pops/types/p_init_type.rb', line 201

def accept(visitor, guard)
  guarded_recursion(guard, nil) do |g|
    super(visitor, g)
    @single_type.accept(visitor, guard) if @single_type
    @other_type.accept(visitor, guard) if @other_type
  end
end