Package dev.cel.common.ast
Class CelExpr.CelCall
- java.lang.Object
-
- dev.cel.common.ast.CelExpr.CelCall
-
- All Implemented Interfaces:
Expression.Call<CelExpr>
- Enclosing class:
- CelExpr
@Immutable public abstract static class CelExpr.CelCall extends java.lang.Object implements Expression.Call<CelExpr>
A call expression. SeeExpression.Call
-
-
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()Arguments to the call.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()
Description copied from interface:Expression.CallThe target of a method call-style expression.For example, `x` in `x.f()`.
- Specified by:
targetin interfaceExpression.Call<CelExpr>
-
function
public abstract java.lang.String function()
Description copied from interface:Expression.CallRequired. The name of the function or method being called.- Specified by:
functionin interfaceExpression.Call<CelExpr>
-
args
public abstract com.google.common.collect.ImmutableList<CelExpr> args()
Description copied from interface:Expression.CallArguments to the call.For example, `foo` in `f(foo)` or `x.f(foo)`.
- Specified by:
argsin interfaceExpression.Call<CelExpr>
-
toBuilder
public CelExpr.CelCall.Builder toBuilder()
-
newBuilder
public static CelExpr.CelCall.Builder newBuilder()
-
-