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 encodeURI
fragment, seeLazyLinkingResource.getEncoder()
org.eclipse.xtext.nodemodel.INode
getNode()
Methods inherited from class org.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
equals, getCode, getData, getMessage, hashCode
Methods 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
-INode
of the issue, cannot benull
message
- text message of the issue, cannot benull
code
- issue code, cannot benull
fragment
- actual encodeURI
fragment, seeLazyLinkingResource.getEncoder()
, cannot benull
data
- additional data of the issue, cannot benull
-
-
Method Details
-
getNode
public org.eclipse.xtext.nodemodel.INode getNode()- Overrides:
getNode
in classorg.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
-
getFragment
Gets actual encodeURI
fragment, seeLazyLinkingResource.getEncoder()
- Returns:
- actual encode
URI
fragment, seeLazyLinkingResource.getEncoder()
, nevernull
-