Interface UnaryExprHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface UnaryExprHandler
    Handler for unary expressions (negation, increment, etc.).
    • Method Detail

      • handle

        Replacement handle​(EditorContext ctx,
                           UnaryExpr unary)
        Handle a unary expression.
        Parameters:
        ctx - the editing context
        unary - the unary expression
        Returns:
        the replacement action