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

Copy Markdown

Represents an array expression in G-code.

Summary

Functions

Initialise a List from a boolean value.

Push an expressions onto the list.

Types

t()

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

Functions

init()

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

Initialise a List from a boolean value.

push(list, expr)

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

Push an expressions onto the list.