You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of these various nodes represent method calls. They should all be part of the same node. It is very confusing to have to manually look for every kind of node in every visitor.
YARP has:
receiver (the receiver of the call, optional)
operator (the operator used, ., &., or ::)
message (the message being sent)
opening_loc (the optional left parenthesis or bracket)
arguments (the arguments node)
closing_loc (the optional right parenthesis or bracket)
block (the optional block)
name (the synthesized name of the call)
In most cases name will match message but if you have something like foo.bar = 1 then message will be bar and name will be "bar=". In foo.()message will be nil but name will be "call".
The text was updated successfully, but these errors were encountered:
All of these various nodes represent method calls. They should all be part of the same node. It is very confusing to have to manually look for every kind of node in every visitor.
YARP has:
receiver
(the receiver of the call, optional)operator
(the operator used,.
,&.
, or::
)message
(the message being sent)opening_loc
(the optional left parenthesis or bracket)arguments
(the arguments node)closing_loc
(the optional right parenthesis or bracket)block
(the optional block)name
(the synthesized name of the call)In most cases
name
will matchmessage
but if you have something likefoo.bar = 1
thenmessage
will bebar
andname
will be"bar="
. Infoo.()
message
will benil
butname
will be"call"
.The text was updated successfully, but these errors were encountered: