# File lib/ruote/util/dollar.rb, line 126
    def lookup (pr, key)

      case pr
        when 'v' then @fexp.lookup_variable(key)
        when 'f' then Ruote.lookup(@workitem['fields'], key)
        when 'r' then call_ruby(key)
        else nil
      end
    end