Interface IExpressionTypeChecker

  • All Known Implementing Classes:
    QlCheckerExpression

    public interface IExpressionTypeChecker
    Checker for expression type
    • Method Detail

      • checkType

        IExpressionTypeChecker.CheckResult checkType​(org.eclipse.emf.ecore.EObject expression)
        Check and compute expression type. This method validate expression.
        Parameters:
        expression - checking expression, can't be null
        Returns:
        result of checking, never null
        See Also:
        ITypeSystem
      • checkType

        IExpressionTypeChecker.CheckResult checkType​(org.eclipse.emf.ecore.EObject expression,
                                                     boolean needValidate)
        Check and compute expression type
        Parameters:
        expression - checking expression, can't be null
        needValidate - true if validation needed, false otherwise
        Returns:
        result of checking, never null
        See Also:
        ITypeSystem