# `CEL.Expr.ListLiteral`
[🔗](https://github.com/hansihe/pb_ex/blob/v0.2.0/cel_ex/lib/cel/expr.ex#L126)

A list literal, `[a, b, ?c]`.

`optional_indices` lists, in order, the positions of elements written
with `?`, which are added only when their optional value is present.

# `t`

```elixir
@type t() :: %CEL.Expr.ListLiteral{
  elements: [CEL.Expr.t()],
  id: CEL.Checked.expr_id(),
  optional_indices: [non_neg_integer()],
  type: CEL.Expr.type()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
