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
{{ message }}
This repository was archived by the owner on Nov 17, 2022. It is now read-only.
It is more convenient because any compound name can be decomposited to SimpleReference and FieldAccess. Moreover, it helps to avoid ambiguity of parsing.
Example:
a.b.c()
Now we can build AST for this code in two ways:
MethodInvocation[qualifier = SimpleReference[compoundName="a.b"], name = "c"]
I suggest to remove CompoundName from SimpleReference and replace it by String:
It is more convenient because any compound name can be decomposited to SimpleReference and FieldAccess. Moreover, it helps to avoid ambiguity of parsing.
Example:
Now we can build AST for this code in two ways:
Second way it is more natural and close to grammatics. Also it seems to be more general.
The text was updated successfully, but these errors were encountered: