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
{"id" : 55, "name": "RECEIVER", "comment" : "The receiver of a method call which is either an object or a pointer", "keys": []},
But, CpgValidator only check count of RECEIVER edge dependent on DispatchType.
According to the validator, call node of STATIC_DISPATCH should not have any out-edge of receiver.
and DYNAMIC_DISPATCH should have only one out-edge of receiver which points to instance(Identifier).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the schema, RECEIVER can point to nodes as following. It seems like linking call node and another ast nodes as its return.
Edge Description
But, CpgValidator only check count of RECEIVER edge dependent on DispatchType.
According to the validator, call node of STATIC_DISPATCH should not have any out-edge of receiver.
and DYNAMIC_DISPATCH should have only one out-edge of receiver which points to instance(Identifier).
Beta Was this translation helpful? Give feedback.
All reactions