1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 10:27:45 +03:00
Commit Graph

12483 Commits

Author SHA1 Message Date
Rob Rix
421f72c787 Abstract assignment for lists of statements. 2017-05-12 16:03:35 -04:00
Rob Rix
bfaa8dcd59 Assign Ruby with makeTerm and emptyTerm. 2017-05-12 16:00:15 -04:00
Rob Rix
e07e04f894 Define an emptyTerm assignment. 2017-05-12 15:59:27 -04:00
Rob Rix
0f8a75dc2a Define a makeTerm combinator. 2017-05-12 15:45:54 -04:00
Rob Rix
a586762998 Merge branch 'master' into generalize-table-of-contents-over-the-syntax-functor 2017-05-12 12:24:00 -04:00
Rick Winfrey
49c54df07f Merge pull request #1111 from github/python
Add languages/python
2017-05-12 09:22:44 -07:00
Rob Rix
893e2f1bde Merge branch 'master' into generalize-table-of-contents-over-the-syntax-functor 2017-05-11 21:29:17 -04:00
Rick Winfrey
4bf0ad07dc Merge branch 'master' into python 2017-05-11 16:48:21 -07:00
Rick Winfrey
2e2adfb1ec Add languages/python 2017-05-11 16:45:05 -07:00
Timothy Clem
5253b13846 Read JSON encoded blob content on stdin 2017-05-11 16:20:15 -07:00
Rob Rix
c4504acaa5 Represent entryPayload as a field selector. 2017-05-11 17:32:43 -04:00
Rob Rix
b8b844cecc 🔥 more redundant imports. 2017-05-11 17:16:51 -04:00
Rob Rix
bbb7b352aa 🔥 afterOrBefore. 2017-05-11 17:16:19 -04:00
Rob Rix
915fdbb2c8 🔥 patchType. 2017-05-11 17:15:33 -04:00
Rob Rix
f711e2fd5c 🔥 redundant imports. 2017-05-11 17:14:54 -04:00
Rob Rix
162a9695d4 Correct the specs for only taking the after side of replacements. 2017-05-11 17:09:54 -04:00
Rob Rix
a71183adca Revert "Expect multiple results when there are multiple methods."
This reverts commit 2cae877627e577342072eb119729b92e8f020978.
2017-05-11 17:08:38 -04:00
Rob Rix
a788495961 Take the after side of replacements.
Otherwise we have no way of knowing which side they occurred on.
2017-05-11 17:08:21 -04:00
Rob Rix
5dd5ce8160 Pull the patch entries function into the where clause. 2017-05-11 17:05:56 -04:00
Rob Rix
b8db6b85a2 Expect multiple results when there are multiple methods. 2017-05-11 17:04:33 -04:00
Rob Rix
a536e5d71e Don’t special-case for the ParseError category. 2017-05-11 17:02:28 -04:00
Rob Rix
addc70df57 🔥 redundant functions. 2017-05-11 16:59:45 -04:00
Rob Rix
c548795cb9 diffTOC doesn’t take blobs. 2017-05-11 16:59:32 -04:00
Rob Rix
2b68c6e626 Correct how we count the number of relevant nodes. 2017-05-11 16:54:14 -04:00
Rob Rix
f24a687937 We now include results from both sides of replacements. 2017-05-11 16:42:17 -04:00
Rob Rix
1ce26f2f57 Similar matches are explicitly replacements. 2017-05-11 16:41:17 -04:00
Rob Rix
f7932c2331 Correct the wording for JSON summaries. 2017-05-11 16:37:17 -04:00
Rob Rix
1f653470d1 Correct the tests. 2017-05-11 16:37:08 -04:00
Rob Rix
f2ca4b5144 Represent patched content as Entry constructors. 2017-05-11 16:33:52 -04:00
Rob Rix
1bbcbf7fab Keep the found entry. 2017-05-11 16:05:56 -04:00
Rob Rix
95f6a63fee Define diffTOC in terms of tableOfContentsBy. 2017-05-11 16:02:24 -04:00
Rob Rix
994e56452f Provide declarations in all the tests. 2017-05-11 15:53:22 -04:00
Rob Rix
f1bbbec47a Apparently I reverted this in the merge by accident. 2017-05-11 15:52:16 -04:00
Rob Rix
8ef8115775 Define a Listable instance for Declaration. 2017-05-11 15:48:27 -04:00
Rob Rix
0d13175085 Reuse the entryPayload function. 2017-05-11 15:37:17 -04:00
Rob Rix
7903db7429 Copy the deduping logic into dedupe. 2017-05-11 15:36:25 -04:00
Rob Rix
336e203d02 Define a helper to get an entry’s payload. 2017-05-11 15:36:02 -04:00
Rob Rix
1ec4b051b0 Pull the dedupe function out. 2017-05-11 15:25:12 -04:00
Rob Rix
023320bade 🔥 a redundant import of Patch. 2017-05-11 15:22:58 -04:00
Rob Rix
0ba823b51f Update the fixture to include changes for the non-error side. 2017-05-11 15:21:18 -04:00
Rob Rix
5e5c4694b8 Merge remote-tracking branch 'origin/master' into generalize-table-of-contents-over-the-syntax-functor
# Conflicts:
#	src/Arguments.hs
#	test/CommandSpec.hs
#	test/SpecHelpers.hs
#	test/TOCSpec.hs
2017-05-11 15:17:46 -04:00
Rob Rix
238923141c Merge pull request #1110 from github/test-failures-reference-correct-source-locations
Bump hspec-expectations-pretty-diff for accurate source locations.
2017-05-11 14:59:10 -04:00
Rob Rix
534925d839 Bump bump. 2017-05-11 14:55:17 -04:00
Rob Rix
dc854e47cc Bump hspec-expectations-pretty-diff for accurate source locations. 2017-05-11 14:49:54 -04:00
Rob Rix
1a2c329f78 Crosswalk through Patches again. 2017-05-11 14:22:39 -04:00
Rob Rix
4ef3604a65 Revert "Revert "Define a Crosswalk instance for Patch.""
This reverts commit 20d96850fa7ee2b1ad3c949b128186eaa8f22f6b.
2017-05-11 14:19:34 -04:00
Rob Rix
344bff67ce Produce parse error content. 2017-05-11 14:17:48 -04:00
Rob Rix
075b831199 Produce results for terms with syntax errors. 2017-05-11 14:13:54 -04:00
Rob Rix
eb03a36db0 Construct ErrorSummary values when the category is a parse error. 2017-05-11 14:11:49 -04:00
Rob Rix
cd2421048c Produce entries for parse errors. 2017-05-11 14:02:25 -04:00