Package com._1c.g5.v8.dt.bsl.linking
Class BslLinkingDiagnostic
java.lang.Object
org.eclipse.xtext.diagnostics.AbstractDiagnostic
org.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
com._1c.g5.v8.dt.bsl.linking.BslLinkingDiagnostic
- All Implemented Interfaces:
org.eclipse.emf.ecore.resource.Resource.Diagnostic,org.eclipse.xtext.diagnostics.Diagnostic
public class BslLinkingDiagnostic
extends org.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
Special
XtextLinkingDiagnostic for BSL language- See Also:
-
XtextLinkingDiagnostic
-
Field Summary
Fields inherited from interface org.eclipse.xtext.diagnostics.Diagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC, SYNTAX_DIAGNOSTIC, SYNTAX_DIAGNOSTIC_WITH_RANGE -
Constructor Summary
ConstructorsConstructorDescriptionBslLinkingDiagnostic(org.eclipse.xtext.nodemodel.INode node, String message, String code, String fragment, String... data) Initialize -
Method Summary
Modifier and TypeMethodDescriptionGets actual encodeURIfragment, seeLazyLinkingResource.getEncoder()org.eclipse.xtext.nodemodel.INodegetNode()Methods inherited from class org.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
equals, getCode, getData, getMessage, hashCodeMethods inherited from class org.eclipse.xtext.diagnostics.AbstractDiagnostic
getColumn, getColumnEnd, getLength, getLine, getLineEnd, getLocation, getOffset, getUriToProblem, toString
-
Constructor Details
-
BslLinkingDiagnostic
public BslLinkingDiagnostic(org.eclipse.xtext.nodemodel.INode node, String message, String code, String fragment, String... data) Initialize- Parameters:
node-INodeof the issue, cannot benullmessage- text message of the issue, cannot benullcode- issue code, cannot benullfragment- actual encodeURIfragment, seeLazyLinkingResource.getEncoder(), cannot benulldata- additional data of the issue, cannot benull
-
-
Method Details
-
getNode
public org.eclipse.xtext.nodemodel.INode getNode()- Overrides:
getNodein classorg.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
-
getFragment
Gets actual encodeURIfragment, seeLazyLinkingResource.getEncoder()- Returns:
- actual encode
URIfragment, seeLazyLinkingResource.getEncoder(), nevernull
-