Skip to content

Conversation

@Morriar
Copy link
Contributor

@Morriar Morriar commented Mar 23, 2023

One more step towards #278.

egiurleo and others added 12 commits March 3, 2023 13:11
Many other Ruby ASTs do not have a separate node representing `elsif`
conditionals; instead, they use the same node as `if` but make it a
consequent of other `if` nodes. This commit removes the `Elsif` node and
combines its functionality with `IfNode`, ensuring that both the parsing and
formatting logic are still functional.
And add `beginning` kwarg to `IfNode` DSL method.
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@Morriar
Copy link
Contributor Author

Morriar commented Aug 25, 2023

Dropping this in favor of YARP 👍

@Morriar Morriar closed this Aug 25, 2023
@Morriar Morriar deleted the at-array-lit branch August 25, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants