Interface TransformerRule

    • Method Detail

      • isApplicable

        boolean isApplicable​(Node node)
        Test for the rule can be applied to given node.
        Parameters:
        node - Expression node to check applicability for.
        Returns:
        true if the rule is applicable to given node.
      • apply

        Node apply​(Node node)
        Apply the rule to given node (when applicable).
        Parameters:
        node - Expression node the rule will be applied to.
        Returns:
        Node substitution expression.