Crate oxc_span

Source
Expand description

Source positions and related helper functions.

https://doc.rust-lang.org/beta/nightly-rustc/rustc_span

Modules§

  • Specialized comparison traits
  • Specialized hashing traits

Macros§

Structs§

  • An inlinable string for oxc_allocator.
  • Lifetimeless version of [Atom<'_>] which owns its own string data allocation.
  • Source Type for JavaScript vs TypeScript / Script vs Module / JSX
  • A range in text, represented by a zero-indexed start and end offset.
  • Error returned by SourceType::from_path when the file extension is not found or recognized.

Enums§

Constants§

Traits§