Class RightQlValidator
- java.lang.Object
-
- org.eclipse.xtext.validation.AbstractInjectableValidator
-
- org.eclipse.xtext.validation.AbstractDeclarativeValidator
-
- com._1c.g5.v8.dt.ql.validation.AbstractQlValidator
-
- com._1c.g5.v8.dt.ql.validation.QlValidator
-
- com._1c.g5.v8.dt.right.ql.validation.AbstractRightQlValidator
-
- com._1c.g5.v8.dt.right.ql.validation.RightQlValidator
-
- All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator
,org.eclipse.xtext.validation.ValidationMessageAcceptor
public class RightQlValidator extends AbstractRightQlValidator
Custom validation rules. see http://www.eclipse.org/Xtext/documentation.html#validation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccess
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator
org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
-
-
Constructor Summary
Constructors Constructor Description RightQlValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkPreprocessorConditional(PreprocessorConditional conditional)
void
checkResolveSourceTable(QuerySchemaSource source)
void
checkTemplateRestriction(TemplateRestriction restriction)
boolean
isEqual(TemplateCall templateCall, org.eclipse.xtext.resource.IEObjectDescription element)
protected void
processingCheckResult(IExpressionTypeChecker.CheckResult checkResult)
-
Methods inherited from class com._1c.g5.v8.dt.right.ql.validation.AbstractRightQlValidator
getEPackages
-
Methods inherited from class com._1c.g5.v8.dt.ql.validation.QlValidator
checkAlias, checkAllowedDbView, checkALotSemicolons, checkAmbiguousField, checkBinaryOperationForNullLiteral, checkCompoundExpression, checkDropQuery, checkDuplicateAlias, checkDuplicateAlias, checkEachDbView, checkEmptyTable, checkExistenceAliasInSource, checkExpressionWithStarByAlias, checkForDuplicates, checkForDuplicates, checkForEmptyTable, checkForUpdateTables, checkGroupByFieldForNotFix, checkGroupByForNestedQueryAndInExpression, checkGroupByForNestedTable, checkGroupByInQueryWithHaving, checkGroupingSets, checkIndexesWithInto, checkIndexFieldsInSelectFields, checkIntoLocated, checkIntoTableName, checkLogicalExpression, checkLogicalExpressionInCase, checkLogicalExpressionInJoin, checkMultiPartCommonExpression, checkNestedTableForFieldsFronAnotherNestedTable, checkNestedTableInTotals, checkNestedTableVirtualFieldsInTotalsPoint, checkNestedTableWithDistinct, checkNumberFieldsInUnions, checkNumberLiteralExpression, checkOrderByForConstNumber, checkParameters, checkPeriodsTotalsControlPoint, checkQSExpression, checkSelectFieldsForTable, checkSortingTheSameField, checkStarExpression, checkTableWithParametersForVirtual, checkTempTableQuery, checkUnaryOperationForNullLiteral, checkUnionOrderFieldsInSelectFields, checkUnionSimpleAndTableField, checkUsingHierarchyOrderWithTotals, checkUsingIntoInNestedQuery, checkUsingOrderInNestedQuery, checkUsingTotalsInNestedQuery, exprInAliasSelectFields, exprInAliasSelectFields, findTableInSource, findTableInSource, findTableInSourceWithAlias, findTableInSourceWithAlias, getAbstractSource, inEmptyTable
-
Methods inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
acceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssue, addIssue, addIssue, addIssue, addIssue, addIssueToState, checkDone, checkIsFromCurrentlyCheckedResource, createDiagnostic, createDiagnostic, createMethodWrapper, error, error, error, error, error, error, error, error, getCancelIndicator, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getIssueSeverities, getMessageAcceptor, guard, handleExceptionDuringValidation, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warning
-
-
-
-
Method Detail
-
checkTemplateRestriction
public void checkTemplateRestriction(TemplateRestriction restriction)
-
checkResolveSourceTable
public void checkResolveSourceTable(QuerySchemaSource source)
- Overrides:
checkResolveSourceTable
in classQlValidator
-
processingCheckResult
protected void processingCheckResult(IExpressionTypeChecker.CheckResult checkResult)
- Overrides:
processingCheckResult
in classQlValidator
-
checkPreprocessorConditional
public void checkPreprocessorConditional(PreprocessorConditional conditional)
-
isEqual
public boolean isEqual(TemplateCall templateCall, org.eclipse.xtext.resource.IEObjectDescription element)
-
-