absinthe v1.2.0-alpha.1 Absinthe.Blueprint

Summary

Types

Functions

current_operation(blueprint)

Specs

current_operation(t) ::
  nil |
  Absinthe.Blueprint.Operation.t

Get the currently selected operation.

find(blueprint, fun)
flagged?(node, flag)

Specs

flagged?(node_t, atom) :: boolean

Determine whether a flag has been set on a node.

fragment(blueprint, name)
postwalk(blueprint, fun)

See Absinthe.Blueprint.Transform.postwalk/2.

postwalk(blueprint, acc, fun)

See Absinthe.Blueprint.Transform.postwalk/3.

prewalk(blueprint, fun)

See Absinthe.Blueprint.Transform.prewalk/2.

prewalk(blueprint, acc, fun)

See Absinthe.Blueprint.Transform.prewalk/3.

put_flag(node, flag, mod)

Specs

put_flag(node_t, atom, module) :: node_t

Add a flag to a node.

update_current(blueprint, change)

Specs

update_current(t, (Absinthe.Blueprint.Operation.t -> Absinthe.Blueprint.Operation.t)) :: t

Update the current operation.