@staticmethod
def escape(string):
    """Escape a literal string (without adding quotes)."""
    return u'"%s"' % string.replace('\\\\', '\\\\\\\\').replace('"', '\\\\"'
        ).replace("\\'", "\\\\\\'")
