1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 08:25:19 +03:00
Commit Graph

17142 Commits

Author SHA1 Message Date
Timothy Clem
a227562cc6 Finally able to write a test for this
This fails with the old implmentation and captures what we are seeing in some markdown files.
2017-11-17 08:30:57 -08:00
Timothy Clem
ddb8c4f3b1 Rewrite with elemIndex
Should be a bit faster b/c elemIndex uses memchr(3) under the covers.
2017-11-17 08:02:14 -08:00
Timothy Clem
0c64dbbf5e Keep recursing for term table of contents 2017-11-16 14:59:21 -08:00
Timothy Clem
9652926841 Merge remote-tracking branch 'origin/master' into generate-tags-with-context 2017-11-16 14:35:20 -08:00
Rick Winfrey
d04b6a63f6 Re-contextualize tests 2017-11-15 16:36:15 -08:00
Rick Winfrey
e439ea941d Don't include comment in expression choices 2017-11-15 16:30:56 -08:00
Rick Winfrey
c783841ef5 Contextualize tests 2017-11-15 15:55:53 -08:00
Rick Winfrey
2cd1bc4f59 Use term to contextualize / post contextualize comments 2017-11-15 15:37:12 -08:00
Josh Vera
031a187c79 Merge pull request #1437 from github/🔥-monolithic-typescript-assignment
🔥 monolithic TypeScript assignment
2017-11-15 17:21:35 -05:00
Josh Vera
633c981901 Merge branch 'master' into 🔥-monolithic-typescript-assignment 2017-11-15 16:43:56 -05:00
Timothy Clem
891a32f7d1 Merge branch 'master' into fix-markdown-sourceLineRangesByLineNumber 2017-11-15 13:43:49 -08:00
Rick Winfrey
017b511469 Merge branch 'master' into go-assignment 2017-11-15 11:22:25 -08:00
Rick Winfrey
9ba0cfd38a Merge pull request #1434 from github/dump-ast
Add protip about dumping TreeSitter AST
2017-11-15 11:16:44 -08:00
Rick Winfrey
018e4707ac Update method declarations tests 2017-11-15 11:08:12 -08:00
Rick Winfrey
29a0dcf6e9 Allow optional blocks for method declarations 2017-11-15 11:07:53 -08:00
Rick Winfrey
e5b518dd5e Update case and switch statement tests 2017-11-15 10:57:12 -08:00
Rick Winfrey
43cfb15bdb Assign multiple expressions before the first expression case clause in switch statements 2017-11-15 10:56:52 -08:00
Rick Winfrey
8bcc94e086 Update type switch statements tests 2017-11-15 10:21:50 -08:00
Rick Winfrey
4da3e29501 Assign mutiple expressions in type case statements 2017-11-15 10:21:23 -08:00
Rick Winfrey
02befdf6eb Merge branch 'master' into dump-ast 2017-11-15 10:18:38 -08:00
Rick Winfrey
2453d66af1 Update select statements tests 2017-11-15 10:10:14 -08:00
Rick Winfrey
0d55fcb378 🔥 unnecessary emptyTerm 2017-11-15 10:10:01 -08:00
Rick Winfrey
ee26a95330 Assign multiple expressions wthin communication clauses 2017-11-15 10:06:59 -08:00
Josh Vera
46e79a6cd4 Merge pull request #1438 from github/add-js-and-jsx-to-old-toc
Enable JS and JSX in semantic-diff
2017-11-15 12:32:48 -05:00
joshvera
c44af7ad8e no parens 2017-11-15 12:16:36 -05:00
joshvera
d06d81672e Enable JS and JSX in semantic-diff 2017-11-15 11:35:25 -05:00
Rob Rix
4916ccde2f 🔥 monolithic TypeScript assignment. 2017-11-15 10:42:53 -05:00
Rob Rix
a53d9b5e46 Don’t specialize monolithic assignment for TypeScript. 2017-11-15 10:42:44 -05:00
Rick Winfrey
af63537d36 Enforce function literals requiring a block 2017-11-14 15:35:48 -08:00
Rick Winfrey
b034e471fa Update function declaration tests 2017-11-14 15:33:07 -08:00
Rick Winfrey
77bdbdbb77 Assign function declaration and function literals with optionals 2017-11-14 15:32:46 -08:00
Timothy Clem
bf2f5fff33 Merge pull request #1435 from github/better-json-decode-errors
Use eitherDecode so we can include an error message
2017-11-14 15:31:08 -08:00
Rick Winfrey
d7573fc6c4 Create a types group 2017-11-14 15:30:54 -08:00
Timothy Clem
f9fe282af1 Merge branch 'master' into better-json-decode-errors 2017-11-14 15:26:19 -08:00
Josh Vera
d9e5338b02 Merge pull request #1411 from github/default-typescript-assignment
Enable typescript assignment by default
2017-11-14 18:25:53 -05:00
Josh Vera
d900d3ba12 Merge branch 'master' into default-typescript-assignment 2017-11-14 18:17:44 -05:00
Timothy Clem
4ed36b699a Catch all forms of newlines in sourceLineRangesWithin 2017-11-14 14:49:46 -08:00
Rick Winfrey
e36799d4ef Assign function declarations with no body 2017-11-14 14:30:42 -08:00
Rick Winfrey
ddd35e2631 Update unary expression test fixtures 2017-11-14 14:25:20 -08:00
Rick Winfrey
f8bca432a4 Assign unary complement expressions 2017-11-14 14:25:01 -08:00
Rick Winfrey
62f5cedf67 Update select statements tests 2017-11-14 14:04:06 -08:00
Rick Winfrey
46cb13a4c1 Allow communication clauses to have empty bodies 2017-11-14 14:03:50 -08:00
Rick Winfrey
2ccc5e9786 Update type switch statement tests 2017-11-14 13:54:14 -08:00
Rick Winfrey
1564d7f029 Allow expressions within type switch guards 2017-11-14 13:49:29 -08:00
Rick Winfrey
105a6adace 🔥 parens 2017-11-14 13:49:15 -08:00
Timothy Clem
6b1ac4f0fa Use eitherDecode so we can include an error message 2017-11-14 11:52:49 -08:00
Rick Winfrey
b32a874f42 Merge branch 'master' into go-assignment 2017-11-14 11:02:17 -08:00
Josh Vera
a0532c90fc Merge pull request #1425 from github/python-updates
Separate term and manyTerm logic in python
2017-11-13 18:52:16 -05:00
Josh Vera
b86431933d Merge branch 'master' into python-updates 2017-11-13 18:37:03 -05:00
Rick Winfrey
59cb4b2bc7 Update tests 2017-11-09 17:01:19 -08:00