Interface MqlCallable

All Superinterfaces:
MqlValue
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 non-sealed interface MqlCallable extends MqlValue
  • Field Summary

    Fields inherited from interface net.hollowcube.mql.value.MqlValue

    NULL
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Returns the arity of the function, or -1 if it is variadic/otherwise unknown
    @NotNull MqlValue
    call(@NotNull List<MqlExpr> args, @Nullable MqlScope scope)
     

    Methods inherited from interface net.hollowcube.mql.value.MqlValue

    cast
  • Method Details

    • arity

      default int arity()
      Returns the arity of the function, or -1 if it is variadic/otherwise unknown
    • call

      @NotNull @NotNull MqlValue call(@NotNull @NotNull List<MqlExpr> args, @Nullable @Nullable MqlScope scope)