def compile_atts(opts={})

      attributes.keys.each_with_object({}) { |k, r|
        r[dsub(k)] = attribute(k, h.applied_workitem, opts)
      }
    end
def compile_atts(opts={})

      attributes.keys.each_with_object({}) { |k, r|
        r[dsub(k)] = attribute(k, h.applied_workitem, opts)
      }
    end
Returns a Hash containing all attributes set for an expression with
 their values resolved.