1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
Commit Graph

10032 Commits

Author SHA1 Message Date
Rick Winfrey
767b1ecc0a Add tree-sitter language specific submodules 2017-01-30 13:56:59 -08:00
Rob Rix
e4b43e2d63 Merge pull request #949 from github/flatten-patches
Flatten BranchInfo patches
2017-01-26 15:15:23 -05:00
joshvera
0503fc9555 Flatten BranchInfo patches 2017-01-26 15:07:18 -05:00
Josh Vera
2d4b456d4c Merge pull request #941 from github/table-of-contents
Table of contents
2017-01-26 12:51:57 -05:00
joshvera
386fa47ae6 s/Error/ParseError 2017-01-26 12:48:03 -05:00
joshvera
69cf915bf7 Only export toc 2017-01-26 12:46:28 -05:00
Josh Vera
36804a8686 Merge branch 'master' into table-of-contents 2017-01-26 12:07:08 -05:00
Rob Rix
06102737e2 Merge pull request #937 from github/consolidate-common-term-assignment-patterns
Consolidate common term assignment patterns
2017-01-26 11:52:44 -05:00
Rob Rix
5ea6240e5e Honestly I have no idea. 2017-01-25 20:50:18 -05:00
Rob Rix
41a10c977f Merge remote-tracking branch 'origin/master' into consolidate-common-term-assignment-patterns 2017-01-25 20:44:58 -05:00
Rob Rix
04db099ddb Bumpity bump. 2017-01-25 20:27:46 -05:00
Rob Rix
57d2f50420 Summarize var assignments’ ids even when composite. 2017-01-25 20:16:36 -05:00
Rob Rix
006ec80a06 Summarize all of indexed nodes’ children, not just the first child. 2017-01-25 20:16:13 -05:00
joshvera
3ab42ca794 add a param 2017-01-25 18:26:03 -05:00
Josh Vera
b9f9dff1c6 Merge branch 'master' into table-of-contents 2017-01-25 18:19:40 -05:00
Josh Vera
b87d476fba Merge pull request #942 from github/go-functions-with-types
Go functions with types
2017-01-25 18:18:51 -05:00
Rick Winfrey
40940631fe Merge branch 'master' into go-functions-with-types 2017-01-25 13:16:37 -08:00
joshvera
4de2396b0a ++tests 2017-01-25 15:50:17 -05:00
Timothy Clem
3d4f6fe48b Remove need to qualify patch 2017-01-25 10:45:56 -08:00
Timothy Clem
a8fed91deb No need for HideInfo constructor b/c we only surface functions/methods 2017-01-25 08:47:50 -08:00
Timothy Clem
2b0363e031 Remove comments and API sketching 2017-01-25 08:46:45 -08:00
joshvera
b30b98375e update tests 2017-01-25 11:45:50 -05:00
joshvera
bd5b2a4c93 Add optional type to Syntax.Function 2017-01-25 11:41:09 -05:00
Rob Rix
776527711d 🔥 another unnecessary GADT extension. 2017-01-25 03:20:17 -05:00
Rob Rix
e7e9a83f4c This also no longer needs GADTs. 2017-01-25 03:19:00 -05:00
Rob Rix
0b93c638ea These no longer need GADTs. 2017-01-25 03:18:30 -05:00
Rob Rix
2929fb3cb4 Rename Syntax.Error to ParseError. 2017-01-25 03:09:53 -05:00
Rob Rix
296c53f187 Rename Category.Error to ParseError. 2017-01-25 03:08:06 -05:00
Rob Rix
5a39e7234c Reformat Go term assignment. 2017-01-25 03:04:33 -05:00
Rob Rix
fc85c6de40 🔥 redundant term assignments from JavaScript. 2017-01-25 03:02:06 -05:00
Rob Rix
833f2f755e Add a language-agnostic assignment of Throw. 2017-01-25 03:02:03 -05:00
Rob Rix
84db693349 Reformat JavaScript term assignments. 2017-01-25 03:00:41 -05:00
Rob Rix
559bb0b9dc 🔥 redundant assignments from Ruby. 2017-01-25 02:58:25 -05:00
Rob Rix
6207e474b6 Add a language-agnostic Yield assignment. 2017-01-25 02:58:04 -05:00
Rob Rix
d407fcd201 Reformat Ruby term assignment. 2017-01-25 02:56:35 -05:00
Timothy Clem
8f40cbfad1 Use strings that match octicons for ease of PoC 2017-01-24 16:08:34 -08:00
joshvera
dd6a5d3a20 Rename sourceSpan keys to span 2017-01-24 17:20:22 -05:00
joshvera
348d5ae699 Move patchType to Patch 2017-01-24 16:00:25 -05:00
joshvera
e3da60eada Add afterOrBefore function to Patch.hs 2017-01-24 15:58:17 -05:00
Rob Rix
c2506d9280 Bump the fixture repos. 2017-01-24 15:16:35 -05:00
Rob Rix
483e8a3f00 Regenerate all the things!
JavaScript: method call → function call.

Go: regenerated everything.
2017-01-24 15:09:28 -05:00
Rob Rix
7e6337fbb2 Summarize assignments to lists of variables. 2017-01-24 14:53:11 -05:00
Timothy Clem
e53ae6a88a Catch (and hide) NotSummarizable leaves 2017-01-24 11:25:44 -08:00
Rob Rix
8d41d78572 Assign package identifiers to Module syntax.
This gives us somewhat better summaries for the teardown integration tests.
2017-01-24 14:21:34 -05:00
Timothy Clem
f49fc1910d Don't print method arguments 2017-01-24 11:18:59 -08:00
Timothy Clem
9ec2262b38 Refactor names and handling of what's summarizable 2017-01-24 11:16:22 -08:00
Rob Rix
4cb1af8879 Handle Case/When matching specifically for Ruby again.
This fixes 10 of 340 integration test failures 🎉
2017-01-24 14:14:05 -05:00
joshvera
3f34bcec46 Expand toTermName to summarize methods and functions 2017-01-24 12:14:14 -05:00
joshvera
acb277e32c remove duplicates 2017-01-24 12:13:59 -05:00
joshvera
1fe58a5c48 Panic in toJSON if we see a None 2017-01-24 12:13:22 -05:00