wright::source_tracking

Module source

Source
Available on crate feature source-tracking only.
Expand description

Structure and implementation for storing source code items used by the wright compiler, including source files from disk, source strings used in test cases, and source strings created at run-time by an API consumer.

Structs§

  • A full source. This is usually a file, but may also be passed in the form of a string for testing.
  • A process-unique source id, that is atomically generated and assigned to each Source on creation.

Constants§

  • Amount of time before we should warn the user about locking the file taking too long.