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

16807 Commits

Author SHA1 Message Date
Rob Rix
6c5cb81b36 Export ApplyAll. 2017-11-21 12:19:06 -05:00
Rob Rix
5ff0f21583 🔥 unSomeParser. 2017-11-21 12:19:00 -05:00
Rob Rix
004a0390a7 Generalize someParser over the syntax types. 2017-11-21 11:47:49 -05:00
Rob Rix
6108aa1b64 Define ConstructorName using advanced overlap. 2017-11-21 11:46:48 -05:00
Timothy Clem
994345f0d3 Merge pull request #1436 from github/fix-markdown-sourceLineRangesByLineNumber
Catch all forms of newlines in sourceLineRangesWithin
2017-11-20 15:34:06 -08:00
Timothy Clem
a4d11b6e63 Merge branch 'master' into fix-markdown-sourceLineRangesByLineNumber 2017-11-20 15:23:33 -08:00
Timothy Clem
16ef56d742 Merge remote-tracking branch 'origin/master' into fix-markdown-timeouts 2017-11-20 15:22:58 -08:00
Timothy Clem
94690bebaf Extract function instead of lambda 2017-11-20 15:09:13 -08:00
Timothy Clem
2f6cbe1f82 Merge pull request #1417 from github/generate-tags-with-context
Generate tags (round 2)
2017-11-20 14:38:09 -08:00
Timothy Clem
9df8c2f8a5 Add .tsx extension 2017-11-20 14:21:49 -08:00
Timothy Clem
57dd145dc2 Fix tests and demonstrate removes too 2017-11-20 14:20:34 -08:00
Timothy Clem
4aedbf9647 Track contents as children of the heading 2017-11-20 14:20:23 -08:00
Timothy Clem
631594e01e Don't nest markdown sections/headings
There's a major performance problem with the `while` approach to detecting hierarchy in markdown headings/sections. This works around by just having headings stay flat (like they are returned from the cmark parser).
2017-11-20 13:47:46 -08:00
Timothy Clem
fcf455f9b1 Use choice for markdown assignment 2017-11-20 13:45:52 -08:00
Timothy Clem
ec6adbadf9 Clarify output formatting options a bit 2017-11-17 10:14:45 -08:00
Timothy Clem
f24625b547 Merge branch 'master' into fix-markdown-sourceLineRangesByLineNumber 2017-11-17 08:31:28 -08:00
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
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
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
02befdf6eb Merge branch 'master' into dump-ast 2017-11-15 10:18:38 -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
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
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
Timothy Clem
6b1ac4f0fa Use eitherDecode so we can include an error message 2017-11-14 11:52:49 -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
Timothy Clem
8c727bd4f0 Extract out the Tag renderer into it's own module 2017-11-09 09:01:35 -08:00
Timothy Clem
9b7b22e0a5 Rework option handling for generating tags
Command is now `semantic parse --tags`
2017-11-08 15:30:34 -08:00
Timothy Clem
0b3568aaba Shape of Declaration.Class changed 2017-11-08 14:26:40 -08:00
Timothy Clem
3fc53af5e0 classBody doesn't need to be a list 2017-11-08 14:00:08 -08:00
Timothy Clem
57dfc43035 Construct ClassDeclaration properly 2017-11-08 13:59:41 -08:00
Timothy Clem
04a2991b95 Missed this rename 2017-11-08 13:59:24 -08:00
Timothy Clem
772762ecef Merge remote-tracking branch 'origin/master' into generate-tags-with-context 2017-11-08 13:16:07 -08:00
Josh Vera
d24a7eb058 Merge pull request #1426 from github/json-updates
JSON updates
2017-11-08 15:35:43 -05:00
Josh Vera
136ceb6ca1 Merge branch 'master' into json-updates 2017-11-08 15:22:48 -05:00
Timothy Clem
43f4706517 Merge pull request #1389 from github/class-toc
[WIP] class TOC
2017-11-08 12:14:15 -08:00
joshvera
e1fdd753ed Regenerate go tests 2017-11-08 15:01:39 -05:00
joshvera
b3badb5e16 ++haskell-tree-sitter 2017-11-08 13:38:24 -05:00