Module: Puppet::Pops::Types::TypeAcceptor
- Defined in:
- lib/puppet/pops/types/type_acceptor.rb
Overview
An instance of this module is passed as an argument to the PAnyType#accept method of a Type instance. That type will then use the #visit callback on the acceptor and then pass the acceptor to the ‘accept` method of all contained type instances so that the it gets a visit from each one recursively.
Instance Method Summary collapse
Instance Method Details
#visit(type, guard) ⇒ Object
14 15 |
# File 'lib/puppet/pops/types/type_acceptor.rb', line 14 def visit(type, guard) end |