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, getNodegetColumn, getLocation, getUriToProblem, toStringpublic XtextSyntaxDiagnosticWithRange(INode errorNode, int offset, int length, java.lang.String[] userData)
public int getLength()
DiagnosticgetLength in interface DiagnosticgetLength in class AbstractDiagnosticpublic int getOffset()
DiagnosticgetOffset in interface DiagnosticgetOffset in class AbstractDiagnosticpublic int getLine()
getLine in interface org.eclipse.emf.ecore.resource.Resource.DiagnosticgetLine in class AbstractDiagnosticpublic java.lang.String[] getData()
getData in class XtextSyntaxDiagnostic