AST node definitions for the Common Expression Language.
Summary
Types
@type expr() :: %Celixir.AST.IntLit{value: term()} | %Celixir.AST.UintLit{value: term()} | %Celixir.AST.FloatLit{value: term()} | %Celixir.AST.StringLit{value: term()} | %Celixir.AST.BytesLit{value: term()} | %Celixir.AST.BoolLit{value: term()} | %Celixir.AST.NullLit{} | %Celixir.AST.Ident{name: term()} | %Celixir.AST.Select{field: term(), operand: term(), test_only: term()} | %Celixir.AST.OptSelect{field: term(), operand: term()} | %Celixir.AST.Index{index: term(), operand: term()} | %Celixir.AST.OptIndex{index: term(), operand: term()} | %Celixir.AST.Call{args: term(), function: term(), target: term()} | %Celixir.AST.UnaryOp{op: term(), operand: term()} | %Celixir.AST.BinaryOp{left: term(), op: term(), right: term()} | %Celixir.AST.Ternary{ condition: term(), false_expr: term(), true_expr: term() } | %Celixir.AST.CreateList{elements: term()} | %Celixir.AST.CreateMap{entries: term()} | %Celixir.AST.CreateStruct{entries: term(), type_name: term()} | %Celixir.AST.Comprehension{ acc_init: term(), acc_var: term(), iter_range: term(), iter_var: term(), iter_var2: term(), kind: term(), loop_condition: term(), loop_step: term(), result: term() } | %Celixir.AST.OptLambda{ expr: term(), kind: term(), target: term(), var: term() } | %Celixir.AST.CelBlock{bindings: term(), result: term()} | %Celixir.AST.CelIndex{index: term()} | %Celixir.AST.CelIterVar{depth: term(), index: term()}