Package org.antlr.tool
Class RecursionOverflowMessage
- java.lang.Object
-
- org.antlr.tool.Message
-
- org.antlr.tool.RecursionOverflowMessage
-
public class RecursionOverflowMessage extends Message
Indicates recursion overflow. A DFA state tried add an NFA configuration with NFA state p that was mentioned in its stack context too many times.
-
-
Field Summary
Fields Modifier and Type Field Description int
alt
Collection<? extends Collection<? extends NFAState>>
callSiteStates
DecisionProbe
probe
DFAState
sampleBadState
Collection<String>
targetRules
-
Constructor Summary
Constructors Constructor Description RecursionOverflowMessage(DecisionProbe probe, DFAState sampleBadState, int alt, Collection<String> targetRules, Collection<? extends Collection<? extends NFAState>> callSiteStates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.antlr.tool.Message
getLocationTemplate, getMessageTemplate, setColumn, setLine, setMessageID, toString
-
-
-
-
Field Detail
-
probe
public DecisionProbe probe
-
sampleBadState
public DFAState sampleBadState
-
alt
public int alt
-
targetRules
public Collection<String> targetRules
-
callSiteStates
public Collection<? extends Collection<? extends NFAState>> callSiteStates
-
-
Constructor Detail
-
RecursionOverflowMessage
public RecursionOverflowMessage(DecisionProbe probe, DFAState sampleBadState, int alt, Collection<String> targetRules, Collection<? extends Collection<? extends NFAState>> callSiteStates)
-
-