Module: Puppet::Pops::Types::TypeAcceptor Private
- Defined in:
- lib/puppet/pops/types/type_acceptor.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
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
- #visit(type, guard) ⇒ Object private
Instance Method Details
#visit(type, guard) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 |
# File 'lib/puppet/pops/types/type_acceptor.rb', line 16 def visit(type, guard) end |