Method: Puppet::Pops::Lookup::FunctionProvider#function_context
- Defined in:
- lib/puppet/pops/lookup/function_provider.rb
#function_context(lookup_invocation, location) ⇒ FunctionContext
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 the function context associated with this provider.
34 35 36 |
# File 'lib/puppet/pops/lookup/function_provider.rb', line 34 def function_context(lookup_invocation, location) @contexts[location] ||= create_function_context(lookup_invocation) end |