# `Statifier.Document.Raise`
[🔗](https://github.com/riddler/statifier-ex/blob/v2.0.0/lib/statifier/document/raise.ex#L1)

A `<raise>` executable-content element: spec 4.2's way to enqueue an
internal event.

`event` is the plain event name the author wrote (a required NMTOKEN per
the spec), not a dot-separated descriptor list. This is deliberately not
tokenized the way `Statifier.Document.Transition.event` is: a transition's
`event` attribute is a whitespace-separated list of *descriptors* matched
against the event name, each of which may itself use dot-separated
wildcards, while `<raise>`'s `event` is a single literal name being
produced, not a pattern being matched. Splitting it would manufacture
structure the source never had.

# `t`

```elixir
@type t() :: %Statifier.Document.Raise{
  attribute_locations: Statifier.Document.attribute_locations(),
  event: String.t(),
  location: Statifier.Parser.Location.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
