farmbot v6.4.1 Farmbot.CeleryScript.AST.Node behaviour View Source

CeleryScript Node.

Link to this section Summary

Functions

Allow a list of args

Rebuild the args and body into an AST struct

Used with data manipulation nodes

Callbacks

Decode and validate arguments

Execute a node

Link to this section Functions

Link to this macro allow_args(args) View Source (macro)

Allow a list of args.

Link to this macro mutate_env(env) View Source (macro)
Link to this macro rebuild_self(args, body) View Source (macro)

Rebuild the args and body into an AST struct.

Used with data manipulation nodes.

Link to this section Callbacks

Link to this callback decode_args(map) View Source
decode_args(map()) :: {:ok, Farmbot.CeleryScript.AST.args()} | {:error, term()}

Decode and validate arguments.

Execute a node