Module span

Source
Expand description

Minimal span types used by the ACIR text parser.

These mirror a small slice of the public API of noirc_span (Span, Position, Spanned). We intentionally do not depend on noirc_span because acir is published to crates.io as part of the ACVM release set, while noirc_span is a compiler crate that is not. Pulling it in would either block the acir release or force every transitive compiler crate onto crates.io. Since these types are only used internally by the parser, an inline copy of just what the parser needs is the cheaper option.

Structsยง

Span ๐Ÿ”’
Spanned ๐Ÿ”’

Type Aliasesยง

Position ๐Ÿ”’