View Source Bee.Schema (bee v0.2.1)

Generate a Bee.Schema from valid ecto schema.

Link to this section Summary

Types

Represents expressions in the AST

Represents literals in the AST

t()

Abstract Syntax Tree (AST)

Link to this section Types

@type expr() :: {expr() | atom(), keyword(), atom() | [t()]}

Represents expressions in the AST

@type literal() :: atom() | number() | binary() | (... -> any()) | {t(), t()} | [t()]

Represents literals in the AST

@type t() :: expr() | literal()

Abstract Syntax Tree (AST)

Link to this section Functions

Link to this macro

generate_bee(ast)

View Source (macro)
@spec generate_bee(t()) :: Macro.t()