Method: Puppet::Pops::Types::PAnyType#accept

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

#accept(visitor, guard) ⇒ Object

Accept a visitor that will be sent the message ‘visit`, once with `self` as the argument. The visitor will then visit all types that this type contains.



89
90
91
# File 'lib/puppet/pops/types/types.rb', line 89

def accept(visitor, guard)
  visitor.visit(self, guard)
end