def type_function(self, node):
        if node.type == "setter":
            result = "set"
        elif node.type == "getter":
            result = "get"
        else:
            result = "function"
        
        name = getattr(node, "name", None)
        if name:
            result += " %s" % name
    
        params = getattr(node, "params", None)
        result += self.compress(params) % "(%s)" if params else "()"
    
        # keep expression closure format (may be micro-optimized for other code, too)
        if getattr(node, "expressionClosure", False):
            result += self.compress(node.body)
        else:
            result += "{%s}" % self.__removeSemicolon(self.compress(node.body))
        
        return result
dataset/ETHPy150Open zynga/jasy/jasy/js/output/Compressor.py/Compressor.type_function/swapped operands of `%`