public class RuleContextWithAltNum extends ParserRuleContext
children, exception, start, stopinvokingState, parent| Constructor and Description |
|---|
RuleContextWithAltNum() |
RuleContextWithAltNum(ParserRuleContext parent,
int invokingStateNumber) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAltNumber()
For rule associated with this parse tree internal node, return
the outer alternative number used to match the input.
|
void |
setAltNumber(int altNum)
Set the outer alternative number for this context node.
|
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, emptyContext, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringaccept, depth, getChildContext, getPayload, getRuleContext, getRuleIndex, getText, isEmpty, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTreepublic RuleContextWithAltNum()
public RuleContextWithAltNum(ParserRuleContext parent, int invokingStateNumber)
public int getAltNumber()
RuleContextgetAltNumber in class RuleContextpublic void setAltNumber(int altNum)
RuleContextsetAltNumber in class RuleContextCopyright © 1992–2024 Daniel Sun. All rights reserved.