Expand description
The implementation of the query system itself. This defines the macros that generate the actual methods on tcx which find and execute the provider, manage the caches, and so forth.
Macrosยง
- call_
provider ๐ - cycle_
error_ ๐handling - define_
queries ๐ - hash_
result ๐ - if_
cache_ ๐on_ disk - Expands to one of two token trees, depending on whether the current query
has the
cache_on_disk_ifmodifier. - is_anon ๐
- is_
depth_ ๐limit - is_
eval_ ๐always - is_
feedable ๐ - item_
if_ ๐cache_ on_ disk - Conditionally expands to some token trees, if the current query has the
cache_on_disk_ifmodifier.
Functionsยง
- collect_
active_ jobs_ from_ all_ queries - Returns a map of currently active query jobs, collected from all queries.
- create_
deferred_ ๐query_ stack_ frame - current_
query_ ๐job - depth_
limit_ ๐error - encode_
all_ ๐query_ results - encode_
query_ ๐results_ inner - force_
from_ ๐dep_ node_ inner - Implementation of
DepKindVTable::force_from_dep_nodefor queries. - loadable_
from_ ๐disk - mk_
query_ ๐stack_ frame_ extra - The deferred part of a deferred query stack frame.
- next_
job_ ๐id - query_
key_ ๐hash_ verify - query_
key_ hash_ verify_ all - start_
query ๐ - Executes a job by changing the
ImplicitCtxtto point to the new query job while it executes. - try_
load_ ๐from_ disk - try_
load_ ๐from_ on_ disk_ cache_ inner - Implementation of
DepKindVTable::try_load_from_on_disk_cachefor queries. - try_
mark_ ๐green