Example usage for org.antlr.v4.runtime DiagnosticErrorListener subclass-usage

List of usage examples for org.antlr.v4.runtime DiagnosticErrorListener subclass-usage

Introduction

In this page you can find the example usage for org.antlr.v4.runtime DiagnosticErrorListener subclass-usage.

Usage

From source file org.apache.olingo.server.core.uri.parser.CheckFullContextListener.java

class CheckFullContextListener extends DiagnosticErrorListener {

    @Override
    public void syntaxError(final Recognizer<?, ?> recognizer, final Object offendingSymbol, final int line,
            final int charPositionInLine, final String msg, final RecognitionException e) {
        // System.err.println("syntaxError detected");

From source file org.jarvis.main.utils.DiagnosticErrorListenerImpl.java

/**
 * listener
 */
public class DiagnosticErrorListenerImpl extends DiagnosticErrorListener {
    protected Logger logger = LoggerFactory.getLogger(DiagnosticErrorListener.class);