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,
String[] userData) |
| Modifier and Type | Method and Description |
|---|---|
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 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 String[] getData()
getData in class XtextSyntaxDiagnosticCopyright © 2015. All Rights Reserved.