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

194 Commits

Author SHA1 Message Date
joshvera
3a72b396ee Merge remote-tracking branch 'origin/master' into improve-error-diff-summaries 2016-08-08 15:41:27 -04:00
joshvera
12f2300fa9 Print the error term when printing ErrorInfos 2016-08-08 15:28:09 -04:00
joshvera
7d4e6affc2 Output error text from source 2016-08-08 15:23:08 -04:00
joshvera
81e42933ce Just keep track of the immediate parent annotation 2016-08-08 14:49:19 -04:00
joshvera
4efa6f6fa5 Add parent annotation to the end of the list 2016-08-08 14:37:51 -04:00
joshvera
11e35ac9c6 Only prepend summaries if the parent term has an identifier 2016-08-08 14:30:55 -04:00
joshvera
d8ff761f40 Add mapPatch 2016-08-08 14:19:47 -04:00
joshvera
51cb8918a9 Prepend (Category, TermName) to DiffSummary.parentAnnotations 2016-08-08 14:06:07 -04:00
joshvera
c191312ece Move instances down and exported types up 2016-08-08 12:21:56 -04:00
Rob Rix
f379deca33 Use the Foldable instance to avoid a mappend. 2016-08-04 10:19:46 -04:00
Rob Rix
5280b62a20 Commented terms are named from their children. 2016-08-04 10:19:02 -04:00
joshvera
e39ab20eee Use termNameFromSource in toTermName 2016-08-04 10:13:56 -04:00
Rob Rix
2286b2b37b Define toTermName over Error nodes. 2016-08-04 10:04:33 -04:00
Rob Rix
6c39b170e8 Define toTermName over Commented nodes. 2016-08-04 10:04:33 -04:00
joshvera
36c4001682 Merge remote-tracking branch 'origin/master' into throw-syntax 2016-08-01 13:55:44 -04:00
joshvera
ef4389a5c5 Merge remote-tracking branch 'origin/master' into constructors 2016-08-01 13:49:35 -04:00
joshvera
9bd34fe3ff Merge remote-tracking branch 'origin/master' into try-syntax 2016-08-01 13:38:50 -04:00
joshvera
862b554e52 Missed a merge conflict 2016-08-01 13:32:59 -04:00
joshvera
b458d28c57 Merge remote-tracking branch 'origin/master' into array-syntax 2016-08-01 13:30:37 -04:00
Rick Winfrey
99feef6ff1 Merge branch 'master' into array-syntax 2016-08-01 12:24:54 -05:00
Josh Vera
fb9c89b509 Merge branch 'master' into method-definition-syntax 2016-08-01 12:58:05 -04:00
joshvera
005b384fad Extract the term name of an Operator syntax from source 2016-08-01 12:06:51 -04:00
joshvera
2d0d01f3c4 Don't create dummy LeafInfos for Operators 2016-08-01 11:57:37 -04:00
joshvera
215310fc00 Extract the Operator text using its children's ranges, or with the term's range 2016-08-01 11:46:12 -04:00
joshvera
a625302391 Add Constructor to diffSummary 2016-07-30 14:26:21 -04:00
joshvera
001407df2b Add Constructor to HasCategory Category instance 2016-07-30 14:26:13 -04:00
joshvera
27941fd2ce Add Constructor to toTermName 2016-07-30 14:26:01 -04:00
joshvera
1afa6d7b0f Add Method to HasCategory Category instance 2016-07-30 14:00:58 -04:00
joshvera
c8b5fb8c08 Add Method to toTermName 2016-07-30 14:00:47 -04:00
joshvera
b3f523d9ef s/MethodDefinition/Method 2016-07-30 13:47:30 -04:00
joshvera
eb3df7db6a MethodDefinition 2016-07-29 18:39:08 -04:00
joshvera
1c5f94631c s/diffSummary/diffSummaries 2016-07-29 18:38:46 -04:00
joshvera
2a02120131 Add Array to diffSummary 2016-07-29 16:47:08 -04:00
joshvera
9453f8949d Add Array to toTermName 2016-07-29 16:46:04 -04:00
joshvera
770c144a30 use fromMaybe since superclass is a Maybe 2016-07-29 16:35:52 -04:00
joshvera
cb5df9b593 Add Class to diffSummary 2016-07-29 16:33:12 -04:00
joshvera
ca563deafd Add Class to HasCategory Category instance 2016-07-29 16:33:05 -04:00
joshvera
b74a2a6f79 Add Class to toTermName 2016-07-29 16:32:52 -04:00
joshvera
3ab1501b4e Add Try case to diffSummary 2016-07-29 16:03:06 -04:00
joshvera
d20c165880 Add Try/Catch/Finally to HasCategory instance 2016-07-29 16:02:57 -04:00
joshvera
0bfa2fef2b Add Try to toTermName 2016-07-29 16:02:25 -04:00
joshvera
c6754c9cdc Extract child text for Throw diff summaries 2016-07-29 15:40:23 -04:00
joshvera
ef3c89dc48 Add Throw to DiffSummary 2016-07-29 15:35:28 -04:00
joshvera
05b4257711 Take sources instead of blobs to simplify diffSummary interface 2016-07-29 14:20:35 -04:00
joshvera
aa99744db7 Remove SourceSpan from Record 2016-07-29 14:12:44 -04:00
joshvera
f7286f927c Construct errors with a SourceSpan 2016-07-29 14:05:11 -04:00
joshvera
20a70dae28 extract for statement text from the source 2016-07-29 13:58:15 -04:00
joshvera
3bb2bfeb97 Cleanup prependSummary 2016-07-29 13:49:07 -04:00
joshvera
5b22f1c9ad add toTermName' to close over Source 2016-07-29 13:12:36 -04:00
joshvera
ce3857320f Pass SourceBlobs to diffSummary 2016-07-29 12:59:07 -04:00