Package org.antlr.v4.runtime

Examples of org.antlr.v4.runtime.RecognitionException.initCause()


        + getTokenErrorDisplay(e.getOffendingToken())
        + " expecting one of "
        + e.getExpectedTokens().toString(recognizer.getTokenNames());
    RecognitionException ex = new RecognitionException(msg, recognizer,
        recognizer.getInputStream(), recognizer.getContext());
    ex.initCause(e);
    throw ex;
  }

  @Override
  protected void reportMissingToken(@NotNull Parser recognizer) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.