1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

6944 Commits

Author SHA1 Message Date
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
joshvera
c60609fd83 Error out if we run into an unimplemented comparison 2016-06-16 16:35:52 -07:00
joshvera
af8e7a4d81 Add a Switch case to zipUnwrap 2016-06-16 16:35:52 -07:00
joshvera
0c1d749f32 Diff asymmetrical Switches recursively 2016-06-16 16:35:52 -07:00
joshvera
70441b9a93 s/cases/_ 2016-06-16 16:35:52 -07:00
joshvera
b73cb5f478 Add a bunch of Syntax cases to run in Interpreter 2016-06-16 16:35:52 -07:00
joshvera
8bb9f23035 Add VarDecl/VarAssignment/Switch/Case cases to alignSyntax 2016-06-16 16:35:52 -07:00
Rick Winfrey
21b7b5255c Merge branch 'syntax-redux' of github.com:github/semantic-diff into syntax-redux 2016-06-16 15:34:55 -05:00
Rick Winfrey
d554636c5c Add JavaScript specific "generator_function" case to map to Function Syntax 2016-06-16 15:34:48 -05:00
joshvera
c086cac867 ++js-test 2016-06-16 10:47:41 -07:00
joshvera
283a4a77a0 Remove test/diffs/style.css 2016-06-16 10:39:57 -07:00
joshvera
7c8ac45c83 Zip Case statements in zipTerms 2016-06-16 10:39:57 -07:00
joshvera
185d386150 Add Case to termToDiffInfo 2016-06-16 10:39:57 -07:00
Rick Winfrey
bae6e827cd ++js-test 2016-06-16 11:34:51 -05:00
Rick Winfrey
513c3b7ec7 Assign arrow_function productions as Function Syntax 2016-06-16 11:25:17 -05:00
Rick Winfrey
308a690cdb ++js-test 2016-06-16 11:20:34 -05:00
Rick Winfrey
a2d8c23250 Add Boolean case for styleName 2016-06-16 11:08:34 -05: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
f70bce09c2 Add true and false cases to defaultCategoryForNodeName 2016-06-16 09:55:13 -05:00
Rick Winfrey
6e3a2e2a4e Add JavaScript language specific categories for this, undefined and null 2016-06-16 09:54:46 -05:00
Rick Winfrey
7292e6ebe4 Add Boolean category name 2016-06-16 09:54:20 -05:00
Rick Winfrey
70b3340302 Add Boolean Category 2016-06-16 09:54:05 -05:00
joshvera
6fea8145e4 Add Switch/Case to defaultCategoryForNodeName 2016-06-15 16:52:39 -07:00
joshvera
f1fd404826 Map tree-sitter nodes to Switch/Case 2016-06-15 16:52:20 -07: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
68e9a501bf ++js-test 2016-06-15 16:13:22 -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
f28e50da8a Add Switch/Case to Renderer.Split 2016-06-15 15:49:11 -07:00
joshvera
69e5fca7cb Add Switch/Case to styleName 2016-06-15 15:49:02 -07:00