Package dev.cel.common.ast
Interface Expression.Struct<E extends Expression.Struct.Entry<?>>
-
- All Known Implementing Classes:
CelExpr.CelStruct
- Enclosing interface:
- Expression
public static interface Expression.Struct<E extends Expression.Struct.Entry<?>>
A message creation expression.Messages are constructed with a type name and composed of field ids: `types.MyType{field_id: 'value'}`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Expression.Struct.Entry<T extends Expression>
Represents an entry of the struct
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<E>
entries()
The entries in the creation expression.java.lang.String
messageName()
The type name of the message to be created, empty when creating map literals.
-
-
-
Method Detail
-
messageName
java.lang.String messageName()
The type name of the message to be created, empty when creating map literals.
-
entries
java.util.List<E> entries()
The entries in the creation expression.
-
-