Class: Puppet::Pops::Types::TypeMismatchDescriber::UnresolvedTypeFinder Private
- Includes:
- Puppet::Pops::Types::TypeAcceptor
- Defined in:
- lib/puppet/pops/types/type_mismatch_describer.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #unresolved ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize ⇒ UnresolvedTypeFinder
constructor
private
A new instance of UnresolvedTypeFinder.
- #visit(type, guard) ⇒ Object private
Constructor Details
#initialize ⇒ UnresolvedTypeFinder
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.
Returns a new instance of UnresolvedTypeFinder.
988 989 990 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 988 def initialize @unresolved = nil end |
Instance Attribute Details
#unresolved ⇒ Object (readonly)
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.
986 987 988 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 986 def unresolved @unresolved end |
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.
992 993 994 995 996 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 992 def visit(type, guard) if @unresolved.nil? && type.is_a?(PTypeReferenceType) @unresolved = type.type_string end end |