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

17432 Commits

Author SHA1 Message Date
Rick Winfrey
0eb06a3741 🔥 Channel literal 2017-11-21 12:44:05 -08:00
Rick Winfrey
769548b4b3 Move Composite constructor to Go.Syntax 2017-11-21 12:43:56 -08:00
Rick Winfrey
2927f38bf9 Use old toc diff renderer for Go 2017-11-21 12:37:45 -08:00
Rick Winfrey
758d067d85 Add comments for Syntax 2017-11-21 12:26:46 -08:00
Rick Winfrey
a7d2ceee0c Regen tests 2017-11-21 12:21:15 -08:00
Rick Winfrey
7bf9c6de9c Rearranging 2017-11-21 12:15:48 -08:00
Rick Winfrey
51862aa8a2 Formatting 2017-11-21 11:57:25 -08:00
Rick Winfrey
f788ab0806 Detect and extract receiver type for Go method declarations in ToC Summary 2017-11-21 11:35:08 -08:00
Rick Winfrey
d3211a5dd2 Merge branch 'master' into go-assignment 2017-11-21 10:42:15 -08:00
Rick Winfrey
898a7bd84c Bring Go ToC test in line with parser 2017-11-21 10:41:56 -08:00
Rick Winfrey
faae21e8df Update labeled statements tests 2017-11-21 10:33:25 -08:00
Rick Winfrey
8dee0368ad Assign empty labeled statements 2017-11-21 10:29:06 -08:00
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
Rick Winfrey
61cf444f38 Update label statements tests 2017-11-20 20:23:10 -08:00
Rick Winfrey
0ab50d4a92 Update labelStatement -> labeledStatement 2017-11-20 20:22:56 -08:00
Rick Winfrey
fc7140e26f Rename typeSwitchSubject helper function 2017-11-20 19:55:06 -08:00
Rick Winfrey
8a0e499db6 Bump haskell-tree-sitter 2017-11-20 19:19:46 -08:00
Rick Winfrey
2614c11888 Add import statements tests 2017-11-20 19:09:03 -08:00
Rick Winfrey
78c98e1c78 Update type switch statement tests 2017-11-20 19:08:54 -08:00
Rick Winfrey
b750b8f423 Allow empty blocks for type switch statements 2017-11-20 19:08:26 -08:00
Rick Winfrey
0cfe57713d Update type declarations tests 2017-11-20 18:45:48 -08:00
Rick Winfrey
5eb138e4db Update function declarations tests 2017-11-20 18:45:39 -08:00
Rick Winfrey
0b098b6b00 Replace many with manyTerm 2017-11-20 18:45:25 -08:00
Rick Winfrey
77aedf0d1d Update typeDeclaration to use manyTerm 2017-11-20 17:08:15 -08:00
Rick Winfrey
f44d0dc3fc Add back manyTerm combinator as an alias for many term 2017-11-20 17:08:03 -08:00
Rick Winfrey
9117f5153a Update tests 2017-11-20 16:43:12 -08:00
Rick Winfrey
f48a8dcf46 Remove extra term layer for parameters 2017-11-20 16:40:20 -08:00
Rick Winfrey
7b335fb2f1 Remove term 2017-11-20 16:40:07 -08:00
Rick Winfrey
a971450c57 Replace manyTerm with many 2017-11-20 16:36:17 -08:00
Rick Winfrey
b761e8cb48 Term and handle error for top level expression 2017-11-20 16:33:30 -08:00
Rick Winfrey
b559e33b7e Use program assign rule 2017-11-20 16:33:18 -08:00
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