farmbot v6.0.1-alpha Farmbot.CeleryScript.AST View Source

Handy functions for turning various data types into Farbot Celery Script Ast nodes.

Link to this section Summary

Types

CeleryScript args

t()

Type for CeleryScript Ast’s

Functions

Parses json and traverses the tree and turns everything can possibly be parsed

Link to this section Types

CeleryScript args.

Link to this type t() View Source
t() :: %Farmbot.CeleryScript.AST{args: args, body: [t, ...], comment: String.t | nil, kind: String.t}

Type for CeleryScript Ast’s.

Link to this section Functions

Link to this function parse(map_or_json_map) View Source
parse(map | [map, ...]) :: t

Parses json and traverses the tree and turns everything can possibly be parsed.

Link to this function parse_args(map) View Source
parse_args(map) :: map