Timothy Clem
2a11e6136e
Comments are in expression now
2017-09-01 10:00:55 -07:00
Timothy Clem
15128e4c1b
Ruby lambdas assign to function with empty syntax for name
2017-08-28 17:50:27 -07:00
Timothy Clem
d7e149c468
Expand equivalentTerms to include functions as well
2017-08-28 15:59:30 -07:00
Timothy Clem
db6099e910
Fix boolean operators
2017-08-24 15:00:07 -07:00
Timothy Clem
762d3341ab
Fix comments
2017-08-24 14:59:44 -07:00
Timothy Clem
6ed530c530
Fix method declarations
2017-08-24 14:59:17 -07:00
Timothy Clem
2905201e19
Fix break
2017-08-24 14:56:52 -07:00
Timothy Clem
6db2c2774c
Fix bitwise ops
2017-08-24 14:55:39 -07:00
Timothy Clem
8f86de85b4
Fix heredocs
2017-08-24 14:54:12 -07:00
Timothy Clem
623f80f24c
Fix comparison operators
2017-08-24 14:53:56 -07:00
Timothy Clem
a4e03b6189
Fix delimiters
2017-08-24 14:53:26 -07:00
Timothy Clem
30c64cee6f
Fix conditional assignment
2017-08-24 14:53:08 -07:00
Timothy Clem
3ef093d851
Fix element reference
2017-08-24 14:52:38 -07:00
Timothy Clem
5abb457ecd
Fix begin/end blocks (scope entry/exit)
2017-08-24 14:52:11 -07:00
Timothy Clem
7ff488b91c
Fix ensure
2017-08-24 14:51:30 -07:00
Timothy Clem
dc6ef33273
Fix and/or
2017-08-24 14:51:08 -07:00
Timothy Clem
e25bdcda82
Fix array
2017-08-24 14:50:51 -07:00
Timothy Clem
a171408cc2
Fix begin/else
2017-08-24 14:50:17 -07:00
Timothy Clem
3febd7db04
Fix for
2017-08-24 14:49:30 -07:00
Timothy Clem
81f438d478
Fix hash
2017-08-24 14:48:55 -07:00
Timothy Clem
0bbeefb8b2
Fix lambdas
2017-08-24 14:48:29 -07:00
Timothy Clem
fef4fb1c41
Fix math assignment
2017-08-24 14:47:41 -07:00
Timothy Clem
228c55ab9e
Fix calls
2017-08-24 14:46:53 -07:00
Timothy Clem
553fa55297
Fix class and module
2017-08-24 14:45:23 -07:00
Timothy Clem
1c6031def5
Fix up assignments
2017-08-24 14:44:19 -07:00
Timothy Clem
3e34c10953
Fix pseudo variables
2017-08-24 14:43:31 -07:00
Timothy Clem
7f41aee5e9
Add Regex to syntax, fix ruby regex fixtures
2017-08-24 14:43:13 -07:00
Timothy Clem
a1576d68d2
Fix relational operators
2017-08-24 13:36:53 -07:00
Timothy Clem
508531c92f
Fix various forms of rescue
2017-08-24 13:34:25 -07:00
Timothy Clem
4e7f37fe8d
Add otherside of break
2017-08-24 13:33:20 -07:00
Timothy Clem
0701df346c
Fix elsif
2017-08-24 13:31:37 -07:00
Timothy Clem
554194d44d
Fix return
2017-08-24 13:31:09 -07:00
Timothy Clem
74fe887fb0
Fix up if
2017-08-24 13:30:07 -07:00
Timothy Clem
85a33c9612
Some literals: numbers, strings, symbols
2017-08-24 13:29:46 -07:00
Timothy Clem
e5d2360fc9
when
2017-08-24 13:27:12 -07:00
Timothy Clem
435b3bfe51
if, unless, ternary
2017-08-24 13:26:17 -07:00
Timothy Clem
bac05bc538
Updated structure for until, while, yield
2017-08-24 13:23:41 -07:00
Timothy Clem
7150dbc792
🔥 these un-needed fixtures that duplicate parse expectations
2017-08-24 13:14:52 -07:00
Timothy Clem
86f65b39ff
🔥 these un-needed fixtures that duplicate parse expectations
2017-08-24 12:59:08 -07:00
Timothy Clem
52d956894b
Update hash fixtures
2017-08-16 14:28:10 -07:00
Timothy Clem
680ad37eea
Fix up chained strings, allow comments
2017-08-16 14:14:33 -07:00
Timothy Clem
ebca8e49ce
Lambdas get an update
2017-08-16 10:13:48 -07:00
Timothy Clem
ce9b380975
Updated when fixtures
2017-08-15 14:22:30 -07:00
Timothy Clem
a0dd6168fa
Another version of case
2017-08-15 14:15:53 -07:00
Timothy Clem
9dda6bf725
Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes
2017-08-15 07:59:24 -07:00
Rob Rix
e86e2ab9fc
🔥 all the ±A/B fixtures.
2017-08-15 09:32:45 -04:00
Rob Rix
a8b98b9892
Bump the examples for for/in nodes.
2017-08-14 20:56:11 -04:00
Timothy Clem
93b337af4c
Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes
2017-08-14 12:50:45 -07:00
Rob Rix
769196ca39
Update the integration test fixtures.
2017-08-09 11:40:30 -04:00
Timothy Clem
8025bb97bb
Merge remote-tracking branch 'origin/the-great-tree-sitter-update' into ruby-assignment-fixes
2017-08-03 14:52:48 -07:00
Timothy Clem
f38dc3f578
Update for Ruby grammar changes
2017-08-03 08:19:23 -07:00
Timothy Clem
780663e06a
Regenerate for example fixtures
2017-08-02 10:37:57 -07:00
Timothy Clem
6d1b076316
Rework for statement for new in clause
2017-08-01 11:40:56 -07:00
Timothy Clem
b52972b587
When fixtures with old term assignment
2017-07-25 13:54:09 -07:00
Timothy Clem
0ac5ffe525
Update the when fixtures
2017-07-25 10:44:36 -07:00
Timothy Clem
5ff7b9345b
Allow multiple whens in ruby case (for assignment)
2017-07-24 16:05:27 -07:00
Timothy Clem
7c513d3e01
Assign heredocs as TextElement for now
2017-07-11 13:23:05 -07:00
Timothy Clem
405e068542
Fix up ruby rescue fixtures
2017-07-10 08:32:22 -07:00
Timothy Clem
39a457ceaf
Introduce blocks
2017-07-07 15:17:15 -07:00
Timothy Clem
39b7c05e50
case/when/else
2017-07-07 14:22:17 -07:00
Timothy Clem
7d8978f764
Uninterpreted
2017-07-07 13:53:16 -07:00
Timothy Clem
cf17c77a5e
Rescue modifiers
2017-07-07 13:47:50 -07:00
Timothy Clem
06bd5e9212
Fix tests
2017-07-07 10:04:56 -07:00
Timothy Clem
9904a39fb2
Fix up rescue, allow in methods
2017-07-07 10:04:49 -07:00
Timothy Clem
2fcc566542
Clean up argument/parameter parsing
2017-07-07 09:15:24 -07:00
Timothy Clem
1a0445b49c
Singleton classes
2017-07-06 15:57:31 -07:00
Timothy Clem
1acbd78108
Assignment
2017-07-06 12:56:16 -07:00
Timothy Clem
a4c0c93b2b
Method calls
2017-07-06 09:45:03 -07:00
Timothy Clem
0aa0c614b7
For
2017-07-06 09:44:10 -07:00
Timothy Clem
7cdddebfce
Class and Module
2017-07-05 15:41:54 -07:00
Timothy Clem
01be90fbf7
Guess we use these fixtures for other stuff, create a new methods
2017-07-05 14:53:44 -07:00
Timothy Clem
dd464f01d5
Assign lambdas and methods (with parameters)
2017-07-05 14:51:12 -07:00
Timothy Clem
e416c018ee
Regex
2017-06-23 13:49:23 -06:00
Timothy Clem
e6079c7752
Add in array and string literals
2017-06-23 13:28:28 -06:00
Timothy Clem
1d2bd7342a
Add in binary operators for Ruby assignment
2017-06-19 10:14:07 -06:00
Timothy Clem
6abfe6cc07
Fix unary minus (sort of)
2017-06-19 09:11:16 -06:00
Timothy Clem
0282ebab55
Partially add unary
2017-06-19 08:27:44 -06:00
Timothy Clem
f8ba1d203b
Add Range back in
2017-06-19 07:52:17 -06:00
Timothy Clem
054e8a07f8
Sort out some literals and if/until
2017-06-16 15:52:47 -06:00
Timothy Clem
e29a17b26b
while and break
2017-06-16 12:39:56 -06:00
Timothy Clem
f761f62f8a
Empty statement
2017-06-16 11:57:13 -06:00
Timothy Clem
c20495eaad
Add test fixtures for alias and undef
2017-06-16 11:30:36 -06:00
joshvera
b5f9938279
Remove ty from Method and throw every part of a call signature into a list
2017-03-29 16:24:54 -04:00
joshvera
0058c371ec
Map template_chars in JS and add missing Interface cases
2017-03-28 16:10:37 -04:00
Rob Rix
1ab51de582
Update the failing test’s fixture.
...
I’m pretty sure this is due to us producing a different shortest edit script than the old implementation (but still a correct one, and a shortest one—just a different correct/shortest one), and that in turn causing RWS to make different choices.
2017-03-23 14:21:09 -04:00
Timothy Clem
e9315fafe2
Merge remote-tracking branch 'origin/master' into interpreter-decomposition
2017-02-28 09:33:44 -08:00
Timothy Clem
6c2a15104d
Generate file add/remove examples
2017-02-27 11:55:49 -08:00
Timothy Clem
4f61dfdfc1
Newlines at the end of ruby test
2017-02-27 11:27:33 -08:00
Rob Rix
0510e116f1
Merge remote-tracking branch 'origin/master' into interpreter-decomposition
2017-02-24 11:57:08 -05:00
Rob Rix
0d28bde257
…and the rest.
2017-02-24 11:42:11 -05:00
Timothy Clem
6164c4c766
Update all ruby example expected outputs to end with newline
2017-02-24 08:37:35 -08:00
Rob Rix
e5555ea133
Correct boolean operator tests.
2017-02-24 10:53:28 -05:00
Rob Rix
76d76c928c
Correct the Ruby rescue modifier fixtures.
2017-02-24 10:49:41 -05:00
Timothy Clem
74a97766ef
Map ruby rest_assignment to SplatParameter category
2017-02-22 20:25:46 -08:00
Timothy Clem
7e4c97adfa
map ruby pattern to Args category
2017-02-22 20:22:59 -08:00
Timothy Clem
92f07f660f
Map ruby left_assignment_list to Args category
2017-02-22 20:17:33 -08:00
Timothy Clem
6d8c7b70f7
Map up ruby lambdas to AnonymousFunction category
2017-02-22 20:12:08 -08:00
Timothy Clem
2da352277b
Make sure fixtures have ending newline
2017-02-22 14:41:30 -08:00
Timothy Clem
ea453bf57e
Transition ruby test fixtures
2017-02-22 14:36:22 -08:00
Timothy Clem
8e29488556
Test B->A diff as well, move to fixtures dir
2017-02-22 11:31:56 -08:00