Statifier.Machine.Content.Log (Statifier v2.0.0)

Copy Markdown View Source

A compiled <log> executable-content node (spec 4.7) - the interned counterpart to Statifier.Document.Log. label is the optional diagnostic label; expr is the optional Machine.expr() to evaluate and log; expr_location is attribute_locations[:expr]'s value span, nil when expr was never written.

Its Statifier.ExecutableContent implementation lives right below the struct: this file is the whole node, top to bottom, with no dispatcher anywhere else in the tree.

Summary

Types

t()

@type t() :: %Statifier.Machine.Content.Log{
  c_index: non_neg_integer(),
  expr: Statifier.Machine.expr() | nil,
  expr_location: Statifier.Parser.Location.t() | nil,
  label: String.t() | nil,
  location: Statifier.Parser.Location.t()
}