Package com._1c.g5.v8.dt.bsl.validation
Class BslValidationUtil
java.lang.Object
com._1c.g5.v8.dt.bsl.validation.BslValidationUtil
Bsl validation utility/helper methods and classes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.xtext.validation.Issue
createIssue
(Marker marker, org.eclipse.xtext.validation.CheckType checkType) Creates newIssueImpl
and propagates the fields from the givenstatic Integer
Returns the line number ornull
if not supported
-
Constructor Details
-
BslValidationUtil
public BslValidationUtil()
-
-
Method Details
-
createIssue
public static org.eclipse.xtext.validation.Issue createIssue(Marker marker, org.eclipse.xtext.validation.CheckType checkType) Creates newIssueImpl
and propagates the fields from the given- Parameters:
marker
- the marker, cannot benull
checkType
- the check type, cannot benull
- Returns:
- the
Issue
, nevernull
-
getLine
Returns the line number ornull
if not supported- Parameters:
marker
- the marker, cannot benull
- Returns:
- the line number if any or
null
-