Statifier.Data (statifier v1.5.0)

View Source

Represents a data element in an SCXML datamodel.

Corresponds to SCXML <data> elements which define variables in the state machine's datamodel. Each data element has an id (required) and optional expr or src for initialization.

Summary

Types

t()

@type t() :: %Statifier.Data{
  document_order: integer() | nil,
  expr: String.t() | nil,
  expr_location: map() | nil,
  id: String.t(),
  id_location: map() | nil,
  source_location: map() | nil,
  src: String.t() | nil,
  src_location: map() | nil
}