OpenUI.Statement (OpenUI v0.1.1)

Copy Markdown View Source

One name = expression statement of a program (language.md, section 2.1).

pending? marks a statement read from a cut-off tail that needed implicit closing; while streaming, it never replaces a completed statement of the same name.

Summary

Types

kind()

@type kind() :: :value | :state | :query | :mutation

t()

@type t() :: %OpenUI.Statement{
  ast: OpenUI.Parser.Expression.ast(),
  id: String.t(),
  kind: kind(),
  pending?: boolean(),
  source: String.t()
}