Package dev.cel.common.ast
Class CelExpr.CelCall
- java.lang.Object
-
- dev.cel.common.ast.CelExpr.CelCall
-
- Enclosing class:
- CelExpr
@Immutable public abstract static class CelExpr.CelCall extends java.lang.ObjectA call expression, including calls to predefined functions and operators.For example, `value == 10`, `size(map_value)`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCelExpr.CelCall.BuilderBuilder for CelCall.
-
Constructor Summary
Constructors Constructor Description CelCall()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.google.common.collect.ImmutableList<CelExpr>args()abstract java.lang.Stringfunction()Required.static CelExpr.CelCall.BuildernewBuilder()abstract java.util.Optional<CelExpr>target()The target of a method call-style expression.CelExpr.CelCall.BuildertoBuilder()
-
-
-
Method Detail
-
target
public abstract java.util.Optional<CelExpr> target()
The target of a method call-style expression.For example, `x` in `x.f()`.
-
function
public abstract java.lang.String function()
Required. The name of the function or method being called.
-
args
public abstract com.google.common.collect.ImmutableList<CelExpr> args()
-
toBuilder
public CelExpr.CelCall.Builder toBuilder()
-
newBuilder
public static CelExpr.CelCall.Builder newBuilder()
-
-