Skip to main content

Module resource_table

Module resource_table 

Source

Structs§

GlobalTable
PathId
ResourceTableSnapshot
StrId
TokenId

Traits§

Incrementable

Functions§

canonical_str_id
export_tables
get_path_id
get_path_value
get_str_id
get_str_value
import_tables
insert_path
insert_str
new_token_id
peek_token_id
Returns the last issued token ID value. Used to delimit per-file ID windows for fragment caching.
reserve_token_ids
Reserves count consecutive token IDs and returns the value the counter had before the reservation. The reserved IDs are base+1..=base+count.