1
1
mirror of https://github.com/github/semantic.git synced 2024-12-03 00:16:52 +03:00
Commit Graph

185 Commits

Author SHA1 Message Date
Timothy Clem
17dd99aeac Assignment updates 2020-01-13 15:19:00 -08:00
Timothy Clem
bc9bcaa3ca Fixture changes due to new assignment of block arguments 2019-12-18 08:33:44 -08:00
Timothy Clem
84833e22f6 Re-generate where appropriate for AugmentedAssignment 2019-12-17 16:15:41 -08:00
Timothy Clem
3562ba7e8a Don't use AugmentedAssignment in these tests 2019-12-17 16:15:25 -08:00
Timothy Clem
002816cd49 Structure of heredocs changed 2019-12-10 12:52:44 -08:00
Patrick Thomson
7b13638ae3 Add a test for tagging files containing multibyte characters. 2019-09-30 13:18:39 -04:00
Patrick Thomson
bebf5124bc Regenerate test cases 2019-09-17 16:05:01 -04:00
Timothy Clem
7865ba7464 Couple of extra tests to show picking out calls 2019-03-18 12:24:10 -07:00
Patrick Thomson
0d361e9b0b Add ZSuper syntax node (#2292)
Previously, invocations of `super` were captured as an `Identifier`.
It is straightforward enough to return a ZSuper instead.
2018-12-07 12:21:32 -05:00
Timothy Clem
f15851eed8 Demonstrate that we can pick out classes through ScopeResolution 2018-11-26 14:37:56 -08:00
Timothy Clem
0f56f33f24 Introduce some symbol/tags tests 2018-11-02 13:55:30 -07:00
Timothy Clem
80dfd75635 Ruby corpus changes 2018-09-17 09:30:03 -07:00
Timothy Clem
9a347c9d27 Tokenize and print subtraction as well 2018-08-24 14:07:49 -07:00
Timothy Clem
1bb0e3c149 Handle printing binary multiplication with precedence! 2018-08-24 10:59:09 -07:00
Timothy Clem
e9e8edbebe Dedicated util for rewriting 2018-08-24 10:35:38 -07:00
Timothy Clem
3214519718 Very basic test for ruby printing 2018-08-22 13:47:30 -07:00
Timothy Clem
945712bca6 Examples 2018-08-21 13:25:14 -07:00
Timothy Clem
1a9200b783 tokenizing for Ruby blocks (functions) 2018-08-21 13:17:13 -07:00
Timothy Clem
5ac0b5a900 Continue to refine tokenize api with Ruby as example 2018-08-21 11:16:39 -07:00
Timothy Clem
b0311ff77e Ruby test hardness for ghci 2018-08-20 18:11:41 -07:00
Rick Winfrey
686e1e6d09 Update fixtures 2018-08-10 14:33:39 -07:00
Charlie Somerville
7cc858acf0 Identifier -> This in test fixtures 2018-08-02 14:21:40 +10:00
Charlie Somerville
72ba35dd1d regenerate diff fixtures 2018-08-02 14:15:50 +10:00
Charlie Somerville
b5f6edb942 fix self in ruby assignment 2018-08-01 15:01:12 +10:00
Timothy Clem
8e547c4536 Sort out all the tests 2018-07-23 15:16:48 -07:00
Timothy Clem
8484f477ce Extra Listable instances 2018-07-23 15:09:44 -07:00
Timothy Clem
998b81c8af Don't nest unless we have to 2018-07-23 15:09:37 -07:00
joshvera
d3c912784b Fix tests 2018-06-22 14:19:01 -04:00
joshvera
99ce0482e7 Merge origin/master into grpc-trees 2018-06-06 13:02:44 -04:00
Timothy Clem
2d08451d87 Call [] Statements 2018-05-29 14:25:31 -07:00
Rob Rix
101798fd39 Update a bunch of fixtures. 2018-05-16 16:38:40 -04:00
Rob Rix
1128537b6a Correct a bunch of fixtures. 2018-05-14 10:50:57 -04:00
Rob Rix
716e225da9 Test that puts ends up in the traces. 2018-05-10 11:03:42 -04:00
Rob Rix
924aa3e243 Correct the corpus for the new line directive syntax. 2018-05-09 15:24:42 -04:00
Rob Rix
c0993c63c9 Test our evaluation of __LINE__. 2018-05-09 15:23:52 -04:00
Rob Rix
57389da2c9 Add a test that we pass arguments correctly. 2018-04-30 14:50:16 -04:00
Timothy Clem
d2b47533f7 Fix up test 2018-04-27 07:56:59 -07:00
Timothy Clem
8e50c3b5f9 Fix tests 2018-04-25 12:46:38 -07:00
Patrick Thomson
061b6852a8 Add test cases. 2018-04-23 13:14:52 -04:00
Charlie Somerville
0d9cb46d07 add test cases for early return 2018-04-20 14:47:52 +10:00
Timothy Clem
b9857cd033 Move the toc test fixtures around too 2018-04-18 13:42:29 -07:00
Timothy Clem
ea0afa1747 Move corpus tests into their own dir 2018-04-18 13:33:17 -07:00
Timothy Clem
400f831f5c These assign as symbols now! 2018-04-16 16:59:16 -07:00
Charlie Somerville
bdcd8fcbc3 ruby: implement more strict assignment for parameters 2018-04-16 16:19:23 +10:00
Charlie Somerville
a81beeb125 ruby: register parameters as local identifier names 2018-04-16 16:19:23 +10:00
Charlie Somerville
2d320fdba1 ruby: update test fixtures 2018-04-16 16:19:23 +10:00
Timothy Clem
775d39088a Merge remote-tracking branch 'origin/master' into charliesome/ruby-method-calls 2018-04-10 08:32:03 -07:00
Timothy Clem
8875a29c55 These now correctly parse as blocks 2018-04-10 07:57:28 -07:00
joshvera
2e84f8a637 Revert "Merge pull request #1728 from github/revert-ruby-method-calls"
This reverts commit 96fc6114d8d1d74c42d3971aa24e6a484de52933, reversing
changes made to 2f9da5213ef4cac0048339c9f84c33b873e88cc2.
2018-04-09 16:10:05 -04:00
joshvera
b012b97571 Revert "Merge pull request #1726 from github/charliesome/ruby-method-calls"
This reverts commit 3729f84c487cb2613fd99eca4c6cdb2178c88806, reversing
changes made to d8f0566783407780c1a0d0855f43200530887c54.
2018-04-09 14:45:34 -04:00