Examples of ErrorNode


Examples of org.antlr.v4.runtime.tree.ErrorNode

      getInputStream().consume();
    }
    boolean hasListener = _parseListeners != null && !_parseListeners.isEmpty();
    if (_buildParseTrees || hasListener) {
      if ( _errHandler.inErrorRecoveryMode(this) ) {
        ErrorNode node = _ctx.addErrorNode(o);
        if (_parseListeners != null) {
          for (ParseTreeListener listener : _parseListeners) {
            listener.visitErrorNode(node);
          }
        }
View Full Code Here

Examples of org.eclipse.egit.ui.internal.repository.tree.ErrorNode

  private Object[] handleException(Exception e, RepositoryTreeNode parentNode) {
    Activator.handleError(e.getMessage(), e, false);
    // add a node indicating that there was an Exception
    String message = e.getMessage();
    if (message == null)
      return new Object[] { new ErrorNode(parentNode, parentNode
          .getRepository(),
          UIText.RepositoriesViewContentProvider_ExceptionNodeText) };
    else
      return new Object[] { new ErrorNode(parentNode, parentNode
          .getRepository(), message) };
  }
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.