mv ruleIndex

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9045]
This commit is contained in:
parrt 2011-09-05 12:49:54 -08:00
parent f93bc7aa7a
commit 0f74909c8c
2 changed files with 3 additions and 3 deletions

View File

@ -49,9 +49,6 @@ import org.stringtemplate.v4.ST;
* satisfy the superclass interface.
*/
public class ParserRuleContext extends RuleContext {
/** Set during parsing to identify which rule parser is in. */
public int ruleIndex;
public Token start, stop;
public Object tree;
public ST st;

View File

@ -80,6 +80,9 @@ public class RuleContext implements ParseTree.RuleNode {
*/
public int s = -1;
/** Set during parsing to identify which rule parser is in. */
public int ruleIndex;
/** What state invoked the rule associated with this context?
* The "return address" is the followState of invokingState
* If parent is null, this should be -1.