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

123 Commits

Author SHA1 Message Date
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
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
joshvera
2ebbe72a76 Add Categorizable newtype for HasCategory (Record fields) 2016-07-14 11:52:03 -04:00
joshvera
59426b86f6 Add megaparsec to pretty print summaries 2016-07-13 14:32:53 -04:00
joshvera
7169a51265 Use wl-pprint-text to pretty print diff summaries 2016-07-13 11:58:43 -04:00
Rob Rix
bc05e694a3 🔥 Keyed syntax nodes. 2016-07-12 23:27:09 -04:00
joshvera
1dfae9a1b9 Add Object/Pair/Commented/Comment cases to diffSummary 2016-07-11 12:56:00 -04:00
joshvera
6c58c1b50a Add Object/Pair/Comment to toTermName 2016-07-11 12:55:32 -04:00
joshvera
830a81774a Capture the rest of termToDiffInfo cases as a function of their toTermName 2016-07-11 12:20:40 -04:00
joshvera
99b05ebdc1 Object takes a list of f now 2016-07-08 11:17:46 -04:00
joshvera
9973343364 Map dictionary literals to objects 2016-06-28 16:38:06 -04:00
joshvera
efc1ca7973 Add Ternary/MathAssignment/Operator cases to DiffSummary 2016-06-21 18:20:25 -04:00
Rick Winfrey
9b5d17b3be Add support for Operator category in DiffSummary 2016-06-17 17:03:55 -05:00
Rick Winfrey
88dd8e3c6c Add Ternary Category / Syntax to DiffSummaries 2016-06-17 15:33:22 -05:00
Rick Winfrey
76c4037933 Add support for MathAssignment Category and Syntax 2016-06-17 14:57:51 -05:00
Rick Winfrey
3de9bbda09 Add SubscriptAccess DiffSummary support 2016-06-17 14:40:33 -05:00
joshvera
185d386150 Add Case to termToDiffInfo 2016-06-16 10:39:57 -07:00
Rick Winfrey
d8bfd5a629 Merge branch 'syntax-redux' of github.com:github/semantic-diff into syntax-redux 2016-06-16 09:57:11 -05:00
Rick Winfrey
7292e6ebe4 Add Boolean category name 2016-06-16 09:54:20 -05:00
joshvera
243b366555 Add Switch/Case cases to diffSummary 2016-06-15 16:52:05 -07:00
joshvera
39d200ebdc Add Switch/Case to HasCategory Category instance 2016-06-15 16:51:48 -07:00
joshvera
4fceda482d Add a switch case to termToDiffInfo 2016-06-15 15:58:08 -07:00
joshvera
8e32dea21c Not using this 2016-06-15 15:57:55 -07:00
joshvera
212c0cc1a8 Add Case/Switch to toTermName 2016-06-15 15:51:17 -07:00
joshvera
2465fbe847 s/var declaration/variable 2016-06-15 15:09:44 -07:00
joshvera
c3e8f9b22f Add Args/VarDecl/VarAssignment cases to termToDiffInfo 2016-06-15 11:16:07 -07:00
joshvera
fe49717acd Add VarAssignment/VarDecl/Args cases to diffSummary 2016-06-15 11:15:46 -07:00
joshvera
ccff70b6f6 Add Args/VarAssignment/VarDecl to HasCategory Category instance 2016-06-15 11:15:29 -07:00
joshvera
602ee1ab6c Add Args case to toTermName 2016-06-15 11:15:09 -07:00
Rick Winfrey
a726ab5a73 Add support for Regex TreeSitter productions 2016-06-15 11:09:52 -05:00
Rick Winfrey
b3799b5191 Add TemplateString toCategoryName case 2016-06-15 10:39:18 -05:00