Interface Expression.Call<E extends Expression>

  • All Known Implementing Classes:
    CelExpr.CelCall
    Enclosing interface:
    Expression

    public static interface Expression.Call<E extends Expression>
    A call expression, including calls to predefined functions and operators.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<E> args()
      Arguments to the call.
      java.lang.String function()
      Required.
      java.util.Optional<E> target()
      The target of a method call-style expression.
    • Method Detail

      • target

        java.util.Optional<E> target()
        The target of a method call-style expression.

        For example, `x` in `x.f()`.

      • function

        java.lang.String function()
        Required. The name of the function or method being called.
      • args

        java.util.List<E> args()
        Arguments to the call.

        For example, `foo` in `f(foo)` or `x.f(foo)`.