forked from jasder/antlr
mv ruleIndex
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9045]
This commit is contained in:
parent
f93bc7aa7a
commit
0f74909c8c
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue