1
1
mirror of https://github.com/github/semantic.git synced 2025-01-05 14:11:33 +03:00
Commit Graph

9874 Commits

Author SHA1 Message Date
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
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
Timothy Clem
e53ae6a88a Catch (and hide) NotSummarizable leaves 2017-01-24 11:25:44 -08: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
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
joshvera
b3bbff3f45 Output term, category, sourceSpan 2017-01-23 17:46:29 -05:00
joshvera
e58799c42d Concat TOCOutput like summaries 2017-01-23 17:31:01 -05:00
joshvera
c35d7e8089 Summarize functions and methods to ExpressionInfo 2017-01-23 17:26:43 -05:00
joshvera
3177a565a7 Append parent annotations to summaries 2017-01-23 16:59:47 -05:00
joshvera
5ae0dbf2be Export sourceSpan 2017-01-23 16:59:05 -05:00
joshvera
cc4cc5efc6 Add ParentInfo to carry information about parent or expression information 2017-01-23 16:33:07 -05:00
joshvera
261f374fb5 Parameterize JSONSummary with term context info types 2017-01-23 15:58:20 -05:00
Timothy Clem
381549c045 Structure to produce toc summaries 2017-01-23 11:13:11 -08:00
Timothy Clem
02f87738c0 Plumb in cmd line option for new toc output format 2017-01-23 10:49:48 -08:00
joshvera
f8ecbf9286 WIP stub TOC renderer 2017-01-23 12:16:59 -05:00
joshvera
18c8a0124d Add a stub TOC renderer 2017-01-23 11:22:51 -05:00
Rob Rix
b65b2062ed Merge pull request #935 from github/term-assignment-matches-on-categories
Term assignment matches on categories
2017-01-20 11:58:07 -05:00
Rob Rix
31afc718a1 Merge branch 'master' of https://github.com/github/semantic-diff into term-assignment-matches-on-categories 2017-01-19 16:46:40 -05:00
Rob Rix
3f60857321 Merge branch 'better-record-pattern-matches' into consolidate-common-term-assignment-patterns 2017-01-19 16:38:38 -05:00
Josh Vera
e5fe533b25 Merge pull request #936 from github/better-record-pattern-matches
Better record pattern matches
2017-01-19 16:16:27 -05:00
Rob Rix
23881c21b6 Hide that other definition of Nil. 2017-01-19 15:53:16 -05:00
Rob Rix
8e1c5706b6 Replace uses of (.:) with (:.). 2017-01-19 15:46:28 -05:00
Rob Rix
9f707bcf3a Rename RCons to (:.).
We can’t use (.:) because Haskell doesn’t allow that. However, tokens starting with : are reserved for data constructors, so (:.) is, apparently, a perfectly cromulent constructor.
2017-01-19 15:42:51 -05:00
Rob Rix
d64108dfb8 Rename TermIndexOrNil to avoid clashing with new Record construction. 2017-01-19 15:41:50 -05:00
Rob Rix
877fec5e38 Rename RNil to Nil. 2017-01-19 15:36:04 -05:00
Rob Rix
abe529534a Don’t add “modifier” for now. 2017-01-19 14:05:51 -05:00
Rob Rix
cd5a51aa7a Disable -Wdeprecations on files pattern matching against Category.
We can’t 🔥 RescueModifier yet because of RWS instability. See also #778.
2017-01-19 14:01:48 -05:00
Rob Rix
ae7a91d9da Deprecate RescueModifier. 2017-01-19 14:01:01 -05:00
Rob Rix
eb8c09f2b5 Revert "🔥 RescueModifier."
This reverts commit 9eda5f256678287b9252a7c654ffcaf486b22c21.
2017-01-19 13:51:24 -05:00
Rob Rix
ca1647d45e Disambiguate the Rescue category 😞 2017-01-19 13:16:31 -05:00
Rob Rix
9c064da12f Compute a simpler string for rescue modifiers. 2017-01-19 13:14:40 -05:00
Rob Rix
21dabbe077 🔥 RescueModifier. 2017-01-19 13:13:57 -05:00
Rob Rix
8df4e8ca7b Look for Modifier Rescue, not RescueModifier. 2017-01-19 13:12:59 -05:00
Rob Rix
36a6760347 Match against Modifier categories where appropriate. 2017-01-19 13:09:39 -05:00
Rob Rix
2f3dfd2df7 Compact the unless/until rules. 2017-01-19 13:07:55 -05:00