1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
Commit Graph

152 Commits

Author SHA1 Message Date
joshvera
b74a2a6f79 Add Class to toTermName 2016-07-29 16:32:52 -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
joshvera
4493751dd7 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-29 12:18:14 -04:00
joshvera
5f7555b624 Finish merging DiffSummary 2016-07-29 11:48:31 -04:00
joshvera
fbc9e335a3 Merge remote-tracking branch 'origin/master' into error-syntax 2016-07-29 11:44:38 -04:00
joshvera
7f3cb2e9ef Merge remote-tracking branch 'origin/master' into loop-syntax 2016-07-29 11:42:25 -04:00
joshvera
c45f251b3d parse For exprs 2016-07-28 16:34:07 -04:00
joshvera
69c02ce76e mconcat For exprs for now 2016-07-28 16:33:37 -04:00
joshvera
d057e156cd Add Return case to Syntax 2016-07-28 14:34:53 -04:00
joshvera
776444d64a Print the right expression in a DoWhile 2016-07-28 14:26:17 -04:00
joshvera
7eac130089 Add DoWhile and While cases 2016-07-28 14:08:34 -04:00
joshvera
bda9e4528c Add a For case to diffSummary 2016-07-28 13:49:38 -04:00
joshvera
b7f1d033c5 Add a For case to toTermName 2016-07-28 13:49:21 -04:00
joshvera
ba7d599aa3 Add SourceSpan to tests 2016-07-27 18:49:21 -04:00
joshvera
e3ccbca5ae print filename at the end 2016-07-27 18:23:52 -04:00
joshvera
bf9e385448 Print the source span when printing error node diff summaries 2016-07-27 18:18:55 -04:00
joshvera
b912b89b96 Return ErrorInfos from termToDiffInfo 2016-07-27 12:28:37 -04:00
joshvera
044aa782c1 partially apply isBranchNode 2016-07-26 14:36:56 -04:00
joshvera
799643147b partially apply isBranchNode 2016-07-26 14:04:15 -04:00
joshvera
033200ac10 Merge branch 'property-tests' into error-syntax 2016-07-26 13:55:34 -04:00
joshvera
338b7c2a1b indent 2016-07-25 20:32:14 -04:00
joshvera
58ffd29737 Add an error case 2016-07-25 18:41:22 -04:00
joshvera
882c7c2242 Add the Error type as a Branch 2016-07-25 18:39:22 -04:00
joshvera
a6ea8f44d8 Add Error syntax cases to DiffSummary 2016-07-25 14:55:30 -04:00
joshvera
88b0cc327a Remove Categorizable newtype and HasFiel instance 2016-07-25 13:36:02 -04:00
joshvera
abacae0cc0 redundant imports 2016-07-25 12:35:22 -04:00
joshvera
c7bdc8cd5b let it breathe 2016-07-25 12:32:02 -04:00
joshvera
485fc884a4 Merge branch 'syntax-redux' into property-tests 2016-07-22 14:39:54 -04:00
joshvera
5fe5da65b0 Use unwrap 2016-07-22 14:20:03 -04:00
joshvera
ac36cf5bcc Pretty print diff summaries as lists of LeafInfo Docs 2016-07-15 17:06:41 -04:00
joshvera
ea814432a6 Add a property test to check number of LeafInfos in diff summaries match leaves in diff patches 2016-07-15 14:10:31 -04:00
joshvera
e57f30f20b DiffInfo are now either LeafInfos or BranchInfos 2016-07-15 13:18:45 -04:00
joshvera
13671e5d14 Add patchAnnotations to DiffInfo to track discarded branch nodes 2016-07-14 19:35:23 -04:00
joshvera
27c338331f Merge remote-tracking branch 'origin/master' into syntax-redux 2016-07-14 15:22:46 -04:00
joshvera
453334d966 Use wl-pprint-text to pretty print diff summaries 2016-07-14 14:44:18 -04:00
joshvera
58ff433dd0 Merge remote-tracking branch 'origin/master' into pretty-print-summaries 2016-07-14 14:38:46 -04:00
Rob Rix
7304d79e53 Don’t import the Info type synonym. 2016-07-14 14:25:43 -04:00
Rob Rix
f51b1724fe Generalize diffSummary over records. 2016-07-14 14:25:37 -04:00
Rob Rix
13d2dfc24f Generalize termToDiffInfo over records. 2016-07-14 14:25:27 -04:00
Rob Rix
fa44ef74d8 🔥 the HasCategory instance over Info. 2016-07-14 14:23:51 -04:00
Rob Rix
577ca768bb Get the category name from the Term instance. 2016-07-14 14:23:44 -04:00
Rob Rix
63a37920ac Generalize HasCategory over categorizable terms. 2016-07-14 14:19:47 -04:00
Rob Rix
51b55cc1b4 Generalize toTermName over record annotations. 2016-07-14 14:19:15 -04:00
joshvera
1c65d03618 Output a diff summary for empty branch syntax nodes 2016-07-14 13:01:33 -04:00