Yarnspinnex.Node (yarnspinnex v0.3.0)

Copy Markdown View Source

A single parsed Yarn node: its title, the source line its header starts on, its headers, and its statement body.

Summary

Types

t()

@type t() :: %Yarnspinnex.Node{
  body: [Yarnspinnex.Parser.Body.statement()],
  headers: %{optional(String.t()) => String.t()},
  line: pos_integer() | nil,
  title: String.t()
}