-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default all rule refs to have labels in _localctx with same name with option to turn off #8
Milestone
Comments
Sam points out better to have getters to avoid fields. most of time fast enough. Add:
no need for -Xno-auto-ctx-labels |
Ok, got Sam's idea in for getters. from
we get:
|
parrt
added a commit
that referenced
this issue
Feb 15, 2012
…05f2379 Removed redundant check for null
parrt
pushed a commit
that referenced
this issue
Jun 30, 2015
Drops support of .Net versions < 3.5. Official support by Microsoft is dropped since 2011, see http://stackoverflow.com/questions/2713392/when-will-microsoft-end-mains tream-support-for-existing-versions-of-the-net-fra People in need of support of older versions should use Sam Harwell ’s version
parrt
pushed a commit
that referenced
this issue
Nov 7, 2016
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RuleContext object labels:
e : e '+' egets labels e1 and e2
a : e (',' e)*gets List e and NO e1, e2
Rules with multiple alternatives and non-unique elements, get no automatic labels. The reason is, you can get rules like this
a : ID+ | ID ;
have to label alt or element. even for e : expr '++' | expr '--' ;
-Xno-auto-ctx-labels option or something like that to turn off all of this overhead? better name?
Try to get labeled alt labels into alt context.
don't forget to sort out list vs regular labels. ID+ gets ID and ID_list but ID should be the list now.
The text was updated successfully, but these errors were encountered: