Module full_moon::ast::span

source ·
Expand description

A representation of a “contained span”, or a span within specific bounds.

Examples of contained spans include:

  • Arguments in a function call use parentheses (...)
  • Indexing a table uses brackets [...]
  • Creating a table uses braces {...}

Contained spans don’t contain the inner data, just the start and end bounds.

Structs