All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.coode.parsers.ui.ErrorReport Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
package org.coode.parsers.ui;

/** @author Luigi Iannone */
public interface ErrorReport {
    /** @return message */
    String getMessage();

    /** @return char position */
    int getCharPositionInLine();

    /** @return length */
    int getLength();

    /** @return line */
    int getLine();

    /** Linearises the input text and returns the position of this error report
     * in a monodimensional space.
     * 
     * @param text
     *            text
     * @return the position of the initial character this error report refers to
     *         in a linearised version of the input text. */
    int getLinearisedPosition(String text);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy