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 ๐ - depth_
limit ๐ - feedable ๐
- 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_
eval_ ๐always - item_
if_ ๐cache_ on_ disk - Conditionally expands to some token trees, if the current query has the
cache_on_disk_ifmodifier.
Structsยง
- Query
Ctxt - Implements
QueryContextfor use byrustc_query_system, since that crate does not have direct access toTyCtxt.
Functionsยง
- create_
deferred_ ๐query_ stack_ frame - encode_
all_ ๐query_ results - encode_
query_ ๐results - 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.
- query_
key_ ๐hash_ verify - query_
key_ hash_ verify_ all - try_
load_ ๐from_ disk - try_
load_ ๐from_ on_ disk_ cache_ inner - Implementation of
DepKindVTable::try_load_from_on_disk_cachefor queries. - try_
mark_ ๐green