ilog.rules.dt.model.expression

Interface IlrDTExpressionText

    • Method Detail

      • getExpressionText

        java.lang.String getExpressionText()
        Returns the expression text.

        For an IlrDTExpressionDefinition, the definition text is returned with placeholders.

        For an IlrDTExpressionInstance, the expression text is returned and the placeholders are replaced by expression parameter values.

        Returns:
        The expression text.
      • getExpressionSyntaxNode

        IlrSyntaxTree.Node getExpressionSyntaxNode()
        Returns the syntax tree node corresponding to the expression.
        Returns:
        The syntax tree node corresponding to the expression.
      • getExpressionConcept

        IlrConcept getExpressionConcept()
        Deprecated. 
        Returns the vocabulary concept associated with the expression.
        Returns:
        The concept of the expression.
      • hasSyntacticErrors

        boolean hasSyntacticErrors()
        Deprecated. Replaced by isExpressionValid().
        Check if the expression has syntactic errors. return True if the expression has syntactic errors.
      • isExpressionValid

        boolean isExpressionValid()
        Tests if the expression is valid. An expression is valid if it can be parsed against the current vocabulary without syntax error.

        The corresponding syntax tree for an invalid expression is either null or in error recovery.

        Returns:
        If the expression is syntactically valid, true is returned.

© Copyright IBM Corp. 1987, 2017