| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | getAltNumber()
For rule associated with this parse tree internal node, return
the outer alternative number used to match the input.
|
| public void | setAltNumber(int altNum)
Set the outer alternative number for this context node.
|
| altNumber | back to summary |
|---|---|
| private int altNumber | |
| RuleContextWithAltNum | back to summary |
|---|---|
| public RuleContextWithAltNum() | |
| RuleContextWithAltNum | back to summary |
|---|---|
| public RuleContextWithAltNum(ParserRuleContext parent, int invokingStateNumber) | |
| getAltNumber | back to summary |
|---|---|
| public int getAltNumber() Overrides org. Doc from org. For rule associated with this parse tree internal node, return the outer alternative number used to match the input. Default implementation does not compute nor store this alt num. Create a subclass of ParserRuleContext with backing field and set option contextSuperClass. to set it.
| |
| setAltNumber | back to summary |
|---|---|
| public void setAltNumber(int altNum) Overrides org. Doc from org. Set the outer alternative number for this context node. Default implementation does nothing to avoid backing field overhead for trees that don't need it. Create a subclass of ParserRuleContext with backing field and set option contextSuperClass.
| |