1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 02:14:20 +03:00
Commit Graph

19843 Commits

Author SHA1 Message Date
Rob Rix
3d01323129
Extract the parser for the language modes. 2019-10-17 12:43:58 -04:00
Rob Rix
dca68d3714
Use precise parsers for ToC where available. 2019-10-17 12:43:50 -04:00
Rob Rix
c9eee51a15
Run a reader effect for the language modes around diffing. 2019-10-17 12:43:23 -04:00
Rob Rix
93c459b205
Derive SummarizeDiff instances for the precise AST types. 2019-10-17 12:35:51 -04:00
Rob Rix
45363a7950
Define a newtype for computing summaries from tags. 2019-10-17 12:33:51 -04:00
Rob Rix
b22d86b55b
Tags hold a Loc. 2019-10-17 12:28:32 -04:00
Rob Rix
f7a0673dfe
Carry the entire Loc along in Taggable. 2019-10-17 12:16:28 -04:00
Rob Rix
267115ce31
🔥 the text field from Declaration. 2019-10-17 11:36:04 -04:00
Rob Rix
ccc95d87b9
Reformat the end of Declaration. 2019-10-17 11:32:52 -04:00
Rob Rix
8b9a65c4f8
Export summarizeChange. 2019-10-17 11:29:22 -04:00
Rob Rix
1dbd5c6e8f
Rename recordSummary to summarizeChange. 2019-10-17 11:12:40 -04:00
Rob Rix
28d0a94996
Correct the docs for recordSummary. 2019-10-17 11:12:01 -04:00
Rob Rix
c3d7c426c6
Redefine Edit as a datatype. 2019-10-17 11:09:39 -04:00
Rob Rix
dff89a12fb
Define an Edit synonym instead of EditScript. 2019-10-17 11:02:58 -04:00
Rob Rix
925ff6fc41
Derive the ToTags instances for the precise term types. 2019-10-17 06:36:33 -04:00
Rob Rix
2e0f0c4eca
Define a newtype for Precise ToTags deriving. 2019-10-17 06:34:56 -04:00
Rob Rix
a05370f7e1
Move SummarizeDiff into TOCSummaries. 2019-10-17 06:32:47 -04:00
Rob Rix
ef0ec740c9
Incorporate decorateTerm into summarizeTerm. 2019-10-17 06:23:10 -04:00
Rob Rix
f78a16b5c7
🔥 redundant parens. 2019-10-17 06:07:18 -04:00
Rob Rix
b983117cbc
Pass the blobs to diffTerms in These. 2019-10-17 06:05:41 -04:00
Rob Rix
a6ea14ab0a
🔥 decoratingDiffWith. 2019-10-17 06:00:02 -04:00
Rob Rix
140c4019e5
Parsing pairs returns the blobs with the terms. 2019-10-17 05:56:34 -04:00
Rob Rix
0d93d67be8
Define SummarizeDiff over term pairs. 2019-10-17 05:51:32 -04:00
Rob Rix
ac027b325e
Define a function to decorate a pair of terms from a pair of blobs. 2019-10-17 05:47:21 -04:00
Rob Rix
3bb1d65228
Reformat. 2019-10-17 05:46:56 -04:00
Rob Rix
2604e94052
Define BlobPair as a newtype. 2019-10-17 05:16:23 -04:00
Rob Rix
073bf89ee8
Move formatIdentifier to Analysis.TOCSummary. 2019-10-17 04:25:38 -04:00
Rob Rix
a559479779
Align. 2019-10-17 04:24:17 -04:00
Rob Rix
cfb9151d0f
🔥 redundant deriving strategies. 2019-10-17 04:23:49 -04:00
Rob Rix
b682d04653
🔥 a redundant UNPACK pragma. 2019-10-17 03:39:28 -04:00
Rob Rix
baf1868d48
🔥 the proxies. 2019-10-17 03:25:51 -04:00
Rob Rix
5611398aa7
Align. 2019-10-17 03:24:45 -04:00
Rob Rix
9b2ddd3cbe
Sort imports. 2019-10-17 03:24:09 -04:00
Rob Rix
698cc4392d
🔥 CustomHasDeclaration. 2019-10-17 03:23:13 -04:00
Rob Rix
1f58e9a82d
Rename HasDeclarationWithStrategy to HasDeclarationBy. 2019-10-17 03:18:14 -04:00
Rob Rix
30a26f7ff2
🔥 HasDeclaration'. 2019-10-17 03:17:04 -04:00
Rob Rix
65fb560524
🔥 the whole parameter. 2019-10-17 03:15:54 -04:00
Rob Rix
ec7b0755ae
🔥 redundant parens. 2019-10-17 03:13:01 -04:00
Rob Rix
89b8fb1397
Don’t export declaration. 2019-10-17 03:08:09 -04:00
Rob Rix
bed762db8e
Rename DeclarationKind to Kind. 2019-10-17 03:05:33 -04:00
Rob Rix
62617b3eea
Rename the DeclarationKind constructors. 2019-10-17 03:04:57 -04:00
Rob Rix
3ddb57fb4c
List the Data.Aeson imports explicitly. 2019-10-17 03:04:41 -04:00
Rob Rix
12df95e509
Qualify the import of Data.Error. 2019-10-17 02:56:10 -04:00
Rob Rix
d23e0a17ba
Reformat toChange/toError. 2019-10-17 02:50:13 -04:00
Rob Rix
eb2ee42c7e
Extract some helpers to the top level. 2019-10-17 02:49:30 -04:00
Rob Rix
ea20b4e980
Preserve the kind in TOCSummary as late as possible. 2019-10-17 02:46:57 -04:00
Rob Rix
1990de19c2
Fix an indentation bug. 2019-10-17 02:44:57 -04:00
Rob Rix
9c5a5be7f4
Move formatKind into Analysis.TOCSummary. 2019-10-17 02:44:18 -04:00
Rob Rix
5e3fd0e6d1
Reuse toMap. 2019-10-16 23:13:41 -04:00
Rob Rix
39a643c149
🔥 summaryKey. 2019-10-16 23:13:06 -04:00