rem: case "undefined": writeProp(p, "undefined"); break;  case "object": var className = ""; if (o[p] instanceof Array) className = "<Array> ";  me._fileStream.write(indent + "START " + className + ecmaEscape(p) + me.lineEnd); writeObjProps(o[p], indent + "  "); me._fileStream.write(indent + "END" + me.lineEnd); 
add: me._fileStream.write(indent + "START " + className + ecmaEscape(p) + me.lineEnd); writeObjProps(o[p], indent + "  "); me._fileStream.write(indent + "END" + me.lineEnd); } 
context:     function writeObjProps(o, indent)    {        function writeProp(name, val)        {            me._fileStream.write(indent + "\"" + ecmaEscape(name) + "\" " + val +                                 me.lineEnd);        };        for (var p in o)        {            switch (typeof o[p])            {                case "string":                    writeProp(p, '"' + ecmaEscape(o[p]) + '"');                    break;                case "number":                    writeProp(p, o[p]);                    break;                case "function":                    if (o[p] instanceof RegExp)                        writeProp(p, ecmaEscape("" + o[p]));                    // Can't serialize non-RegExp functions (yet).                    break;                case "null":                    writeProp(p, "null");                    break;                case "undefined":                    writeProp(p, "undefined");                    break;                case "object":                    var className = "";                    if (o[p] instanceof Array)                        className = "<Array> ";                    me._fileStream.write(indent + "START " + className +                                         ecmaEscape(p) + me.lineEnd);                    writeObjProps(o[p], indent + "  ");                    me._fileStream.write(indent + "END" + me.lineEnd);                    break;                default:                    // Can't handle anything else!            }        }    };
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/2ce15dcf9f5ebb75ab5c96f4f8f507f9d94c7e73/text-serializer.js/buggy/js/lib/text-serializer.js