Statifier.Machine.Block (Statifier v2.0.0)

Copy Markdown View Source

One compiled <onentry> or <onexit> element - the interned counterpart to Statifier.Document.Block, built by the compiler's executable-content pass.

content is [c_index], the block's own executable content in document order. A block exists because <onentry>/<onexit> are real elements with their own location; a transition's own executable content has no wrapping element in the source (lib/statifier/document/transition.ex:34-37) and so stays a bare [c_index] directly on Statifier.Machine.Transition.content rather than wrapped in a Block.t().

Summary

Types

t()

@type t() :: %Statifier.Machine.Block{
  content: [non_neg_integer()],
  location: Statifier.Parser.Location.t()
}