ruby-syntax-tree / syntax_tree

Interact with the Ruby syntax tree

Home Page:https://ruby-syntax-tree.github.io/syntax_tree/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AndNode

kddnewton opened this issue · comments

Currently the usage of the && and and operators both create Binary nodes in Syntax Tree. Instead, we should split that out into AndNode since this is significantly semantically different from a method call.

YARP has: left, right, operator_loc, and location.

Is this issue completely done?