public class XtextSyntaxDiagnosticWithRange extends XtextSyntaxDiagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC, SYNTAX_DIAGNOSTIC, SYNTAX_DIAGNOSTIC_WITH_RANGE
Constructor and Description |
---|
XtextSyntaxDiagnosticWithRange(INode errorNode,
int offset,
int length,
java.lang.String[] userData) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getData() |
int |
getLength()
Returns the length of this diagnostic.
|
int |
getLine() |
int |
getOffset()
Returns the offset of this diagnostic.
|
getCode, getMessage, getNode
getColumn, getLocation, getUriToProblem, toString
public XtextSyntaxDiagnosticWithRange(INode errorNode, int offset, int length, java.lang.String[] userData)
public int getLength()
Diagnostic
getLength
in interface Diagnostic
getLength
in class AbstractDiagnostic
public int getOffset()
Diagnostic
getOffset
in interface Diagnostic
getOffset
in class AbstractDiagnostic
public int getLine()
getLine
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
getLine
in class AbstractDiagnostic
public java.lang.String[] getData()
getData
in class XtextSyntaxDiagnostic