1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
Commit Graph

9676 Commits

Author SHA1 Message Date
Timothy Clem
d98d96688d Support keyword and hash arguments in Ruby 2016-11-09 10:48:50 -08:00
Timothy Clem
8d9e864b0a Track changes to ruby rescue productions 2016-11-09 10:48:22 -08:00
Timothy Clem
8d0297d89f Updated tree-sitter 2016-11-09 10:47:13 -08:00
Timothy Clem
03f65821ce Clean up guard to use more concise pattern 2016-11-09 10:45:25 -08:00
Timothy Clem
f37bcfd157 Merge pull request #903 from github/more-ruby-parsing
More ruby parsing (control flow blocks)
2016-11-09 08:49:06 -08:00
Timothy Clem
d978ff86b4 Get identation right for module 2016-11-08 15:54:02 -08:00
Timothy Clem
76422a219a One final tree-sitter bump 2016-11-08 14:53:01 -08:00
Timothy Clem
29cbf788cb No need for these now that source ranges are correct 2016-11-07 16:11:30 -08:00
Timothy Clem
41442873e0 Proper source ranges for Negate 2016-11-07 14:23:17 -08:00
Timothy Clem
ba9e0424ff Implement until as a negation of while 2016-11-07 13:33:41 -08:00
Timothy Clem
cafcd8fd91 Implement unless as a Negate syntax 2016-11-07 13:12:53 -08:00
Timothy Clem
363fb62bd7 Remove comment 2016-11-07 13:11:03 -08:00
Timothy Clem
b541a903dd Collapse up Ruby begin with Try syntax 2016-11-07 10:26:59 -08:00
Timothy Clem
ce2dbacde8 s/LastException/RescuedException 2016-11-07 08:00:06 -08:00
Timothy Clem
2b195508fd Streamline block expression 2016-11-04 15:45:26 -07:00
Timothy Clem
463d075879 Refactor ruby case/when into switch/case Syntax and start on elsif 2016-11-04 15:35:09 -07:00
Timothy Clem
961ea9a1de Fix ruby function v. method calls 2016-11-04 14:49:39 -07:00
Timothy Clem
8b425e0a91 Refactor javascript function_call term construction
Not strictly necessary since we always get argument_list productions
(even when there are no args passed), but nice for completeness.
2016-11-04 14:49:22 -07:00
Timothy Clem
5705393b10 Remove Args syntax entirely! 2016-11-04 13:42:06 -07:00
Timothy Clem
46d3066a97 Remove ruby parsing dependence on Args syntax 2016-11-04 13:30:32 -07:00
Timothy Clem
437522f5e1 Remove need for Params syntax 2016-11-04 13:05:28 -07:00
Timothy Clem
4ff0ccf653 New module/ternary test cases, back to broken multiple assignments 2016-11-04 12:57:08 -07:00
Timothy Clem
eee81e55fa Summaries look like this now 2016-11-04 12:56:04 -07:00
Timothy Clem
c02c32ac7c Back to a single Rescue syntax 2016-11-04 12:29:02 -07:00
Timothy Clem
345d4ed12e Squotes on method context summaries 2016-11-04 08:08:45 -07:00
Rick Winfrey
df2fbfe060 Use Record WildCards for SourceSpan 2016-11-04 09:49:12 -05:00
Timothy Clem
407b4167bb Merge remote-tracking branch 'origin/master' into more-ruby-parsing 2016-11-03 16:17:56 -07:00
Rick Winfrey
7398e1cf4e Import Parse 2016-11-03 18:17:25 -05:00
Rick Winfrey
b0ee888cb9 Merge pull request #905 from github/test-case-format-updates
Show diffs in test cases. Collapse up sha1, sha2 fields -> shas
2016-11-03 18:15:00 -05:00
Rick Winfrey
e8fbb83bbc Merge branch 'master' into test-case-format-updates 2016-11-03 18:06:00 -05:00
Timothy Clem
124d53f091 Merge remote-tracking branch 'origin/master' into more-ruby-parsing 2016-11-03 16:03:44 -07:00
Rick Winfrey
838b222013 Merge pull request #904 from github/template-syntax
Enable syntax level templating in test case generation
2016-11-03 18:02:58 -05:00
Timothy Clem
91798e1fb2 Show diffs in test cases. sha1, sha2 -> shas 2016-11-03 16:02:56 -07:00
Timothy Clem
b62deb19bf Show diffs in test cases. sha1, sha2 -> shas 2016-11-03 15:41:59 -07:00
Rick Winfrey
0a680feab9 🔥 args 2016-11-03 17:14:09 -05:00
Rick Winfrey
eb56419607 Only import ToJSON instances from Renderer.JSON 2016-11-03 17:13:43 -05:00
Rick Winfrey
a817d950dd Add Generic instance to Range 2016-11-03 17:09:28 -05:00
Rick Winfrey
d39d69436b Remove / Add imports to Parse.hs 2016-11-03 17:09:10 -05:00
Rick Winfrey
7557bf020f 🔥 unnecessary imports 2016-11-03 16:54:53 -05:00
Rick Winfrey
741e34a16b Add type annotation 2016-11-03 16:50:11 -05:00
Rick Winfrey
b928f94b05 🔥 Term.Instances 2016-11-03 16:49:41 -05:00
Rick Winfrey
4494d70c91 🔥 Term.Instances 2016-11-03 16:49:27 -05:00
Rick Winfrey
0877b8d05d Import Parse 2016-11-03 16:49:16 -05:00
Rick Winfrey
a637b78d90 Update callsites 2016-11-03 16:48:17 -05:00
Rick Winfrey
277e0d2c0e Rename parserForFilepath -> parserWithCost 2016-11-03 16:47:50 -05:00
Timothy Clem
c6856025f3 Add params syntax to JSON 2016-11-03 14:37:40 -07:00
Timothy Clem
c7fd3e7434 A few updated JavaScript summaries 2016-11-03 14:34:26 -07:00
Timothy Clem
70b4a3714c Regenerate to catch method updates 2016-11-03 14:27:47 -07:00
Timothy Clem
769413813c Better begin and method declaration parsing and summaries 2016-11-03 14:24:05 -07:00
Timothy Clem
947a7f1602 No longer needed 2016-11-03 13:28:51 -07:00