In some cases, the unique alternative identified by LL prediction is not
equal to the minimum represented alternative in the conflicting SLL
configuration set. Grammars and inputs which result in this scenario are
unable to use PredictionMode#SLL, which in turn means they cannot use
the two-stage parsing strategy to improve parsing performance for that
input.
ParserATNSimulator#reportContextSensitivity, ANTLRErrorListener#reportContextSensitivity
| Access | Constructor and Description |
|---|---|
| public | ContextSensitivityInfo(int
The decision number decision, ATNConfigSet The final configuration set containing the unique
alternative identified by full-context prediction configs, TokenStream The input token stream input, int The start index for the current prediction startIndex, int The index at which the context sensitivity was
identified during full-context prediction stopIndex)Constructs a new instance of the |
| ContextSensitivityInfo | back to summary |
|---|---|
| public ContextSensitivityInfo(int decision, ATNConfigSet configs, TokenStream input, int startIndex, int stopIndex) Constructs a new instance of the
| |