Module ids

Module ids 

Source

Structs§

ArcStr
BlobId
CodeMapping
A mapping for a code rewrite.
CrateId
FileId
FlagId
FlagLongId
The long ID for a compilation flag.
SmolStrId
VirtualFile
VirtualFileInput
Same as VirtualFile, but without the interning inside virtual files. This is used to avoid the need to intern the file id inside salsa database inputs.

Enums§

BlobLongId
A FileId for data that is not necessarily a valid UTF-8 string.
CodeOrigin
The origin of a code mapping.
CrateInput
Same as CrateLongId, but without internal interning. This is used as salsa database inputs.
CrateLongId
A crate is a standalone file tree representing a single compilation unit.
Directory
DirectoryInput
Same as Directory, but without the interning inside virtual directories. This is used to avoid the need to intern the file id inside salsa database inputs.
FileInput
Same as FileLongId, but without the interning inside virtual files. This is used to avoid the need to intern the file id inside salsa database inputs.
FileKind
Whether the file holds syntax for a module or for an expression.
FileLongId
We use a higher level FileId struct, because not all files are on disk. Some might be online. Some might be virtual/computed on demand.

Constants§

CAIRO_FILE_EXTENSION

Traits§

DbJoin
UnstableSalsaId
A trait for getting the internal salsa::InternId of a short id object.

Type Aliases§

Tracked
A dummy type to be used as a tracked input. Used to avoid errors on StructInSalsaDB. Salsa expects the first parameter of a tracked function to be a Tracked type for performance reasons.