Rick Winfrey
cb584daff0
Only contextualize terms
2017-11-20 16:32:55 -08:00
Rick Winfrey
dcce44efab
Don't need manyTerm now
2017-11-20 16:32:37 -08:00
Rick Winfrey
45253041ac
Don't need postContextualize now
2017-11-20 16:32:28 -08:00
Rick Winfrey
03509ca544
Don't duplicate type related assignments in expressions choices
2017-11-20 16:32:11 -08:00
Rick Winfrey
81422a603d
Add program assignment
2017-11-20 16:31:16 -08: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
Rick Winfrey
4a44ec572f
Update if statement tests with comment for else if statement
2017-11-20 11:30:52 -08:00
Rick Winfrey
2b73b4361f
Term if initializer and else clause statements
2017-11-20 11:30:17 -08:00
Rick Winfrey
52bc364168
Update tests fixtures
2017-11-20 11:07:21 -08:00
Rick Winfrey
5ade935a08
Add binary expressions tests
2017-11-20 10:57:19 -08:00
Rick Winfrey
31f07845d5
Contextualize rather than term rhs of binary expression
2017-11-20 10:42:24 -08:00
Rick Winfrey
4d92c9ce4e
🔥 top level term
2017-11-20 10:41:56 -08:00
Rick Winfrey
1d6f06e2bc
We don't need to term expressions
2017-11-20 10:14:22 -08:00
Timothy Clem
ec6adbadf9
Clarify output formatting options a bit
2017-11-17 10:14:45 -08:00
Rick Winfrey
2b495aa620
Bump haskell-tree-sitter
2017-11-17 09:52:20 -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
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