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

7011 Commits

Author SHA1 Message Date
joshvera
956f821a13 Start parsing Object literals 2016-06-23 17:39:27 -04:00
joshvera
55746c8127 Add cases to Term.Arbitrary 2016-06-23 16:28:51 -04:00
joshvera
efc1ca7973 Add Ternary/MathAssignment/Operator cases to DiffSummary 2016-06-21 18:20:25 -04:00
joshvera
42cd6f98df Add more cases to syntax ToMarkup instance 2016-06-21 17:31:57 -04:00
joshvera
40b3f55776 Add more Diff.Arbitrary cases 2016-06-21 17:16:22 -04:00
joshvera
bf4c1e8221 Add Ternary case to Diff.Arbitrary 2016-06-21 17:13:24 -04:00
joshvera
0a574871c9 Merge remote-tracking branch 'origin/master' into syntax-redux 2016-06-21 17:08:40 -04:00
Josh Vera
f1293a9887 Merge pull request #614 from github/extensible-annotations
Extensible annotations
2016-06-20 13:57:53 -07:00
Rick Winfrey
eb638a974b Provide JavaScript specific Operator categories for delete_op, type_op and void_op 2016-06-17 17:04:18 -05:00
Rick Winfrey
9b5d17b3be Add support for Operator category in DiffSummary 2016-06-17 17:03:55 -05:00
Rick Winfrey
ee799b2b67 Add Operator case to run 2016-06-17 17:03:39 -05:00
Rick Winfrey
e8fcd3390e Add Operator case to termConstructor 2016-06-17 17:03:27 -05:00
Rick Winfrey
5cb1a05f0d Add Operator Syntax 2016-06-17 17:03:09 -05:00
Rick Winfrey
2432cd53cb Add general Operator Category 2016-06-17 17:02:54 -05:00
Rick Winfrey
f2d5a2be04 Add Operator Category
Although we don’t currently receive operator productions from
TreeSitter directly, this is in anticipation of that.
2016-06-17 17:01:35 -05:00
Rick Winfrey
4f41232901 ++js-test 2016-06-17 17:00:42 -05:00
Rick Winfrey
88dd8e3c6c Add Ternary Category / Syntax to DiffSummaries 2016-06-17 15:33:22 -05:00
Rick Winfrey
74f1ff50b7 Add replacement run case for Ternary 2016-06-17 15:32:48 -05:00
Rick Winfrey
23903be464 Add Ternary termConstructor case 2016-06-17 15:32:23 -05:00
Rick Winfrey
ce54abd040 Add Ternary Syntax data constructor 2016-06-17 15:32:07 -05:00
Rick Winfrey
c4b068c370 Add missing comments 2016-06-17 15:31:50 -05:00
Rick Winfrey
638d0fa90b Add Ternary Category 2016-06-17 15:31:40 -05:00
Rick Winfrey
532e49871d ++js-test 2016-06-17 15:31:21 -05:00
Rick Winfrey
76c4037933 Add support for MathAssignment Category and Syntax 2016-06-17 14:57:51 -05:00
Rick Winfrey
dae03ef31e ++js-test 2016-06-17 14:57:22 -05:00
Rick Winfrey
3de9bbda09 Add SubscriptAccess DiffSummary support 2016-06-17 14:40:33 -05:00
Rick Winfrey
1254c12798 Add SubscriptAccess to run 2016-06-17 14:40:21 -05:00
Rick Winfrey
3ac96be52c Add subscript_access case for defaultCategoryName 2016-06-17 14:39:47 -05:00
Rick Winfrey
596d465c17 Add SubscriptAccess Syntax 2016-06-17 14:39:18 -05:00
Rick Winfrey
4f5141c59e Add SubscriptAccess case to termConstructor 2016-06-17 14:38:50 -05:00
Rick Winfrey
34359f80ee Add SubscriptAccess Category 2016-06-17 14:38:12 -05:00
Rick Winfrey
bbaf6e24fa ++js-test 2016-06-17 14:35:13 -05:00
Rick Winfrey
c5232f023c ++js-test 2016-06-17 14:23:41 -05:00
Rob Rix
87552e0ecb Generalize Alignment over annotations with ranges. 2016-06-17 14:07:35 -04:00
Rob Rix
8b5dc22797 🔥 SetField (roll it into HasField). 2016-06-17 14:07:21 -04:00
Rob Rix
27c17b20fe Generalize getRange to work over any Record with a Range. 2016-06-17 14:06:55 -04:00
Rob Rix
0969e20f39 Generalize hasChanges to arbitrary annotations. 2016-06-17 14:05:38 -04:00
Rob Rix
03b8076f03 Show the underlying Integer, not the Size. 2016-06-17 13:56:45 -04:00
Rob Rix
978c91cd59 Fix setCost infinite looping. 2016-06-17 13:53:33 -04:00
Rob Rix
1668e94427 Define Info as a synonym over Data.Record. 2016-06-17 13:33:50 -04:00
Rob Rix
7d95cb48dc Use the Cost & Size types in Info. 2016-06-17 13:30:48 -04:00
Rob Rix
37b59c89d7 Use the setter functions to update Info. 2016-06-17 13:28:35 -04:00
Rob Rix
5413e1ff43 Add setter functions for Info’s fields. 2016-06-17 13:23:54 -04:00
Rob Rix
fe00a94f52 Destructure Info using the field accessors. 2016-06-17 12:19:00 -04:00
Rob Rix
93f5d53cb4 🔥 the redundant ValueOf type family. 2016-06-17 11:51:03 -04:00
Rob Rix
10e4aefc26 🔥 the redundant IsField typeclass. 2016-06-17 11:50:56 -04:00
Rob Rix
3fb69066a5 Implement Record equality. 2016-06-17 11:50:18 -04:00
Rob Rix
844d093616 We don’t use GeneralizedNewtypeDeriving. 2016-06-17 11:50:10 -04:00
Rob Rix
01d8c6ed91 Derive Num instances for Size and Cost. 2016-06-17 11:33:22 -04:00
Rob Rix
e8c165fb15 Use mappend instead of ++. 2016-06-17 11:29:27 -04:00