tweak to remove insuff pred method

This commit is contained in:
Terence Parr 2012-03-24 16:48:26 -07:00
parent 6791bf60cf
commit e228e88ac5
2 changed files with 2 additions and 35 deletions

View File

@ -29,8 +29,6 @@
package org.antlr.v4.runtime;
import org.antlr.v4.runtime.atn.ATNConfigSet;
import org.antlr.v4.runtime.atn.DecisionState;
import org.antlr.v4.runtime.atn.SemanticContext;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.misc.IntervalSet;
@ -77,17 +75,4 @@ public class BaseErrorListener<Symbol> implements ANTLRErrorListener<Symbol> {
ATNConfigSet configs)
{
}
@Override
public void reportInsufficientPredicates(Parser recognizer,
DFA dfa,
int startIndex,
int stopIndex,
IntervalSet ambigAlts,
DecisionState decState,
SemanticContext[] altToPred,
ATNConfigSet configs,
boolean fullContextParse)
{
}
}

View File

@ -28,13 +28,12 @@
*/
package org.antlr.v4.runtime;
import java.util.Collection;
import org.antlr.v4.runtime.atn.ATNConfigSet;
import org.antlr.v4.runtime.atn.DecisionState;
import org.antlr.v4.runtime.atn.SemanticContext;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.misc.IntervalSet;
import java.util.Collection;
/**
*
* @author Sam Harwell
@ -95,21 +94,4 @@ public class ProxyErrorListener<Symbol> implements ANTLRErrorListener<Symbol> {
listener.reportContextSensitivity(recognizer, dfa, startIndex, stopIndex, configs);
}
}
@Override
public void reportInsufficientPredicates(Parser recognizer,
DFA dfa,
int startIndex,
int stopIndex,
IntervalSet ambigAlts,
DecisionState decState,
SemanticContext[] altToPred,
ATNConfigSet configs,
boolean fullContextParse)
{
for (ANTLRErrorListener<? super Symbol> listener : delegates) {
listener.reportInsufficientPredicates(recognizer, dfa, startIndex, stopIndex, ambigAlts, decState, altToPred, configs, fullContextParse);
}
}
}