Package dev.cel.common.ast
Class CelExpr.CelList
- java.lang.Object
-
- dev.cel.common.ast.CelExpr.CelList
-
- All Implemented Interfaces:
Expression.List<CelExpr>
- Enclosing class:
- CelExpr
@Immutable public abstract static class CelExpr.CelList extends java.lang.Object implements Expression.List<CelExpr>
A list creation expression. SeeExpression.List
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCelExpr.CelList.BuilderBuilder for CelList.
-
Constructor Summary
Constructors Constructor Description CelList()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract com.google.common.collect.ImmutableList<CelExpr>elements()The elements part of the liststatic CelExpr.CelList.BuildernewBuilder()abstract com.google.common.collect.ImmutableList<java.lang.Integer>optionalIndices()The indices within the elements list which are marked as optional elements.CelExpr.CelList.BuildertoBuilder()
-
-
-
Method Detail
-
elements
public abstract com.google.common.collect.ImmutableList<CelExpr> elements()
Description copied from interface:Expression.ListThe elements part of the list- Specified by:
elementsin interfaceExpression.List<CelExpr>
-
optionalIndices
public abstract com.google.common.collect.ImmutableList<java.lang.Integer> optionalIndices()
Description copied from interface:Expression.ListThe indices within the elements list which are marked as optional elements.When an optional-typed value is present, the value it contains is included in the list. If the optional-typed value is absent, the list element is omitted from the list result.
- Specified by:
optionalIndicesin interfaceExpression.List<CelExpr>
-
toBuilder
public CelExpr.CelList.Builder toBuilder()
-
newBuilder
public static CelExpr.CelList.Builder newBuilder()
-
-