[{ "testCaseDescription": "javascript-object-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] } ], "range": [ 0, 20 ] } ], "range": [ 0, 21 ] } ], "patch": "insert", "range": [ 0, 22 ] } ], "hasChanges": true, "range": [ 0, 22 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [], "patch": "insert", "range": [ 22, 22 ] } ], "hasChanges": true, "range": [ 22, 22 ], "number": 2 } ] ], "paths": [ "object.js", "object.js" ], "oids": [ "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "fe17bb20d5e0ada03f8b771d45dcc2d553584145" ] }, "filePaths": [ "object.js" ], "sha1": "e56f285c01ffc201dab7b2d614c182bf1f49e269", "gitDir": "test/corpus/repos/javascript", "sha2": "1fa374c4737c2ee6e4d6997ea427bb59c93f150d" } ,{ "testCaseDescription": "javascript-object-replacement-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 20, 26 ] }, { "category": "StringLiteral", "range": [ 28, 36 ] } ], "range": [ 20, 36 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 38, 44 ] }, { "category": "StringLiteral", "range": [ 46, 51 ] } ], "range": [ 38, 51 ] } ], "range": [ 0, 53 ] } ], "patch": "insert", "range": [ 0, 54 ] } ], "range": [ 0, 55 ] } ], "hasChanges": true, "range": [ 0, 55 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 57, 63 ] }, { "category": "StringLiteral", "range": [ 65, 73 ] } ], "range": [ 57, 73 ] } ], "range": [ 55, 75 ] } ], "patch": "insert", "range": [ 55, 76 ] } ], "range": [ 55, 77 ] } ], "hasChanges": true, "range": [ 55, 77 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] } ], "range": [ 0, 20 ] } ], "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": false, "range": [ 0, 22 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 79, 85 ] }, { "category": "StringLiteral", "range": [ 87, 95 ] } ], "range": [ 79, 95 ] } ], "range": [ 77, 97 ] } ], "range": [ 77, 98 ] } ], "range": [ 77, 99 ] } ], "hasChanges": false, "range": [ 77, 99 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 22, 22 ] } ], "hasChanges": false, "range": [ 22, 22 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [], "range": [ 99, 99 ] } ], "hasChanges": false, "range": [ 99, 99 ], "number": 4 } ] ], "paths": [ "object.js", "object.js" ], "oids": [ "fe17bb20d5e0ada03f8b771d45dcc2d553584145", "741c3dc18ee0367453de24a06ac75106b0e303a2" ] }, "filePaths": [ "object.js" ], "sha1": "1fa374c4737c2ee6e4d6997ea427bb59c93f150d", "gitDir": "test/corpus/repos/javascript", "sha2": "0e49ef4a2de3ac58d75ebb1f7798bd89f150613c" } ,{ "testCaseDescription": "javascript-object-delete-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 20, 26 ] }, { "category": "StringLiteral", "range": [ 28, 36 ] } ], "patch": "delete", "range": [ 20, 36 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 38, 44 ] }, { "category": "StringLiteral", "range": [ 46, 51 ] } ], "patch": "delete", "range": [ 38, 51 ] } ], "range": [ 0, 53 ] } ], "range": [ 0, 54 ] } ], "range": [ 0, 55 ] } ], "hasChanges": true, "range": [ 0, 55 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] } ], "range": [ 0, 20 ] } ], "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": false, "range": [ 0, 22 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 57, 63 ] }, { "category": "StringLiteral", "range": [ 65, 73 ] } ], "range": [ 57, 73 ] } ], "range": [ 55, 75 ] } ], "range": [ 55, 76 ] } ], "range": [ 55, 77 ] } ], "hasChanges": false, "range": [ 55, 77 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 24, 30 ] }, { "category": "StringLiteral", "range": [ 32, 40 ] } ], "range": [ 24, 40 ] } ], "range": [ 22, 42 ] } ], "range": [ 22, 43 ] } ], "range": [ 22, 44 ] } ], "hasChanges": false, "range": [ 22, 44 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 79, 85 ] }, { "category": "StringLiteral", "range": [ 87, 95 ] } ], "range": [ 79, 95 ] } ], "range": [ 77, 97 ] } ], "range": [ 77, 98 ] } ], "range": [ 77, 99 ] } ], "hasChanges": false, "range": [ 77, 99 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 46, 52 ] }, { "category": "StringLiteral", "range": [ 54, 62 ] } ], "range": [ 46, 62 ] } ], "range": [ 44, 64 ] } ], "range": [ 44, 65 ] } ], "range": [ 44, 66 ] } ], "hasChanges": false, "range": [ 44, 66 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 99, 99 ] } ], "hasChanges": false, "range": [ 99, 99 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [], "range": [ 66, 66 ] } ], "hasChanges": false, "range": [ 66, 66 ], "number": 4 } ] ], "paths": [ "object.js", "object.js" ], "oids": [ "741c3dc18ee0367453de24a06ac75106b0e303a2", "701239d4791062b1b1d6d512a409c2cbeae71cd0" ] }, "filePaths": [ "object.js" ], "sha1": "0e49ef4a2de3ac58d75ebb1f7798bd89f150613c", "gitDir": "test/corpus/repos/javascript", "sha2": "708aab840dfbd776e609935ab7b62a1c8de90340" } ,{ "testCaseDescription": "javascript-object-replacement-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] } ], "range": [ 0, 20 ] } ], "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": false, "range": [ 0, 22 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 20, 26 ] }, { "category": "StringLiteral", "range": [ 28, 36 ] } ], "patch": "insert", "range": [ 20, 36 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 38, 44 ] }, { "category": "StringLiteral", "range": [ 46, 51 ] } ], "patch": "insert", "range": [ 38, 51 ] } ], "range": [ 0, 53 ] } ], "range": [ 0, 54 ] } ], "range": [ 0, 55 ] } ], "hasChanges": true, "range": [ 0, 55 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 24, 30 ] }, { "category": "StringLiteral", "range": [ 32, 40 ] } ], "range": [ 24, 40 ] } ], "range": [ 22, 42 ] } ], "range": [ 22, 43 ] } ], "range": [ 22, 44 ] } ], "hasChanges": false, "range": [ 22, 44 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 57, 63 ] }, { "category": "StringLiteral", "range": [ 65, 73 ] } ], "range": [ 57, 73 ] } ], "range": [ 55, 75 ] } ], "range": [ 55, 76 ] } ], "range": [ 55, 77 ] } ], "hasChanges": false, "range": [ 55, 77 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 46, 52 ] }, { "category": "StringLiteral", "range": [ 54, 62 ] } ], "range": [ 46, 62 ] } ], "range": [ 44, 64 ] } ], "range": [ 44, 65 ] } ], "range": [ 44, 66 ] } ], "hasChanges": false, "range": [ 44, 66 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 79, 85 ] }, { "category": "StringLiteral", "range": [ 87, 95 ] } ], "range": [ 79, 95 ] } ], "range": [ 77, 97 ] } ], "range": [ 77, 98 ] } ], "range": [ 77, 99 ] } ], "hasChanges": false, "range": [ 77, 99 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 66, 66 ] } ], "hasChanges": false, "range": [ 66, 66 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [], "range": [ 99, 99 ] } ], "hasChanges": false, "range": [ 99, 99 ], "number": 4 } ] ], "paths": [ "object.js", "object.js" ], "oids": [ "701239d4791062b1b1d6d512a409c2cbeae71cd0", "741c3dc18ee0367453de24a06ac75106b0e303a2" ] }, "filePaths": [ "object.js" ], "sha1": "708aab840dfbd776e609935ab7b62a1c8de90340", "gitDir": "test/corpus/repos/javascript", "sha2": "3c193fc885a4200d1cbd55f4cbac39fe5082d209" } ,{ "testCaseDescription": "javascript-object-delete-replacement-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 20, 26 ] }, { "category": "StringLiteral", "range": [ 28, 36 ] } ], "range": [ 20, 36 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 38, 44 ] }, { "category": "StringLiteral", "range": [ 46, 51 ] } ], "range": [ 38, 51 ] } ], "range": [ 0, 53 ] } ], "patch": "delete", "range": [ 0, 54 ] } ], "range": [ 0, 55 ] } ], "hasChanges": true, "range": [ 0, 55 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 57, 63 ] }, { "category": "StringLiteral", "range": [ 65, 73 ] } ], "range": [ 57, 73 ] } ], "range": [ 55, 75 ] } ], "patch": "delete", "range": [ 55, 76 ] } ], "range": [ 55, 77 ] } ], "hasChanges": true, "range": [ 55, 77 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 79, 85 ] }, { "category": "StringLiteral", "range": [ 87, 95 ] } ], "range": [ 79, 95 ] } ], "range": [ 77, 97 ] } ], "range": [ 77, 98 ] } ], "range": [ 77, 99 ] } ], "hasChanges": false, "range": [ 77, 99 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] } ], "range": [ 0, 20 ] } ], "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": false, "range": [ 0, 22 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 24, 30 ] }, { "category": "StringLiteral", "range": [ 32, 40 ] } ], "range": [ 24, 40 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 42, 48 ] }, { "category": "StringLiteral", "range": [ 50, 58 ] } ], "range": [ 42, 58 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 60, 66 ] }, { "category": "StringLiteral", "range": [ 68, 73 ] } ], "range": [ 60, 73 ] } ], "range": [ 22, 75 ] } ], "patch": "insert", "range": [ 22, 76 ] } ], "range": [ 22, 77 ] } ], "hasChanges": true, "range": [ 22, 77 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 99, 99 ] } ], "hasChanges": false, "range": [ 99, 99 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [], "range": [ 77, 77 ] } ], "hasChanges": false, "range": [ 77, 77 ], "number": 3 } ] ], "paths": [ "object.js", "object.js" ], "oids": [ "741c3dc18ee0367453de24a06ac75106b0e303a2", "9e4827392b43125f3109e099c54540e927e83088" ] }, "filePaths": [ "object.js" ], "sha1": "3c193fc885a4200d1cbd55f4cbac39fe5082d209", "gitDir": "test/corpus/repos/javascript", "sha2": "90e6412603611eb655811b075f58d8464e073f7f" } ,{ "testCaseDescription": "javascript-object-delete-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] } ], "range": [ 0, 20 ] } ], "patch": "delete", "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": true, "range": [ 0, 22 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 24, 30 ] }, { "category": "StringLiteral", "range": [ 32, 40 ] } ], "range": [ 24, 40 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 42, 48 ] }, { "category": "StringLiteral", "range": [ 50, 58 ] } ], "range": [ 42, 58 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 60, 66 ] }, { "category": "StringLiteral", "range": [ 68, 73 ] } ], "range": [ 60, 73 ] } ], "range": [ 22, 75 ] } ], "range": [ 22, 76 ] } ], "range": [ 22, 77 ] } ], "hasChanges": false, "range": [ 22, 77 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 20, 26 ] }, { "category": "StringLiteral", "range": [ 28, 36 ] } ], "range": [ 20, 36 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 38, 44 ] }, { "category": "StringLiteral", "range": [ 46, 51 ] } ], "range": [ 38, 51 ] } ], "range": [ 0, 53 ] } ], "range": [ 0, 54 ] } ], "range": [ 0, 55 ] } ], "hasChanges": false, "range": [ 0, 55 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 77, 77 ] } ], "hasChanges": false, "range": [ 77, 77 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [], "range": [ 55, 55 ] } ], "hasChanges": false, "range": [ 55, 55 ], "number": 2 } ] ], "paths": [ "object.js", "object.js" ], "oids": [ "9e4827392b43125f3109e099c54540e927e83088", "12d063ad120ecce823ab0d7a5bce83c59a522751" ] }, "filePaths": [ "object.js" ], "sha1": "90e6412603611eb655811b075f58d8464e073f7f", "gitDir": "test/corpus/repos/javascript", "sha2": "e31566a724b61fc9bdcb74e98671f942d0404f67" } ,{ "testCaseDescription": "javascript-object-delete-rest-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "ExpressionStatements", "children": [ { "category": "Object", "children": [ { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 2, 8 ] }, { "category": "StringLiteral", "range": [ 10, 18 ] } ], "range": [ 2, 18 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 20, 26 ] }, { "category": "StringLiteral", "range": [ 28, 36 ] } ], "range": [ 20, 36 ] }, { "category": "Pair", "children": [ { "category": "StringLiteral", "range": [ 38, 44 ] }, { "category": "StringLiteral", "range": [ 46, 51 ] } ], "range": [ 38, 51 ] } ], "range": [ 0, 53 ] } ], "range": [ 0, 54 ] } ], "patch": "delete", "range": [ 0, 55 ] } ], "hasChanges": true, "range": [ 0, 55 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [], "patch": "delete", "range": [ 55, 55 ] } ], "hasChanges": true, "range": [ 55, 55 ], "number": 2 } ] ], "paths": [ "object.js", "object.js" ], "oids": [ "12d063ad120ecce823ab0d7a5bce83c59a522751", "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" ] }, "filePaths": [ "object.js" ], "sha1": "e31566a724b61fc9bdcb74e98671f942d0404f67", "gitDir": "test/corpus/repos/javascript", "sha2": "9e5406166a9e280d7ad6cc8bf570b450e90347a5" }]