Gcode.Model.Expr.List (gcode v1.0.0)

Represents an array expression in G-code.

Link to this section Summary

Functions

Initialise a List from a boolean value.

Push an expressions onto the list.

Link to this section Types

@type t() :: %Gcode.Model.Expr.List{elements: [Gcode.Model.Expr.t()]}

Link to this section Functions

@spec init() :: Gcode.Result.t(t())

Initialise a List from a boolean value.

Link to this function

push(list, expr)

@spec push(t(), Gcode.Model.Expr.t()) :: Gcode.Result.t(t())

Push an expressions onto the list.