Package org.eclipse.xtext.resource
Class XtextSyntaxDiagnostic
- java.lang.Object
-
- org.eclipse.xtext.diagnostics.AbstractDiagnostic
-
- org.eclipse.xtext.resource.XtextSyntaxDiagnostic
-
- All Implemented Interfaces:
org.eclipse.emf.ecore.resource.Resource.Diagnostic,Diagnostic
- Direct Known Subclasses:
XtextSyntaxDiagnosticWithRange
public class XtextSyntaxDiagnostic extends AbstractDiagnostic
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.diagnostics.Diagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC, SYNTAX_DIAGNOSTIC, SYNTAX_DIAGNOSTIC_WITH_RANGE
-
-
Constructor Summary
Constructors Constructor Description XtextSyntaxDiagnostic(INode errorNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()java.lang.String[]getData()java.lang.StringgetMessage()protected INodegetNode()-
Methods inherited from class org.eclipse.xtext.diagnostics.AbstractDiagnostic
getColumn, getColumnEnd, getLength, getLine, getLineEnd, getLocation, getOffset, getUriToProblem, toString
-
-
-
-
Constructor Detail
-
XtextSyntaxDiagnostic
public XtextSyntaxDiagnostic(INode errorNode)
-
-
Method Detail
-
getCode
public java.lang.String getCode()
- Specified by:
getCodein classAbstractDiagnostic
-
getData
public java.lang.String[] getData()
- Specified by:
getDatain classAbstractDiagnostic
-
getNode
protected INode getNode()
- Specified by:
getNodein classAbstractDiagnostic
-
getMessage
public java.lang.String getMessage()
-
-