Method: Puppet::Pops::Validation::Checker4_0#idem

Defined in:
lib/puppet/pops/validation/checker4_0.rb

#idem(o) ⇒ Boolean

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.

Checks if the expression has side effect (‘idem’ is latin for ‘the same’, here meaning that the evaluation state is known to be unchanged after the expression has been evaluated). The result is not 100% authoritative for negative answers since analysis of function behavior is not possible.

Returns:

  • (Boolean)

    true if expression is known to have no effect on evaluation state



133
134
135
# File 'lib/puppet/pops/validation/checker4_0.rb', line 133

def idem(o)
  @@idem_visitor.visit_this_0(self, o)
end