/** * <copyright> * </copyright> * * */ package org.emftext.term.propositional.expression.resource.expression; /** * An extended diagnostic that gives access to the exact position of the problem * in a character stream. */ public interface IExpressionTextDiagnostic extends org.eclipse.emf.ecore.resource.Resource.Diagnostic { /** * Returns the position of the first character of the problem area. */ public int getCharStart(); /** * Returns the position of the last character of the problem area. */ public int getCharEnd(); /** * Returns the column of the problem area. */ public int getColumn(); /** * Returns the line that contains the problem area. */ public int getLine(); /** * Returns the problem that was found. */ public org.emftext.term.propositional.expression.resource.expression.IExpressionProblem getProblem(); /** * Checks whether the problem was caused by the given element. * * @return true if the problem was caused by <code>element</code> */ public boolean wasCausedBy(org.eclipse.emf.ecore.EObject element); }