You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/appendix/glossary.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ completeness <div id="completeness"/> | A technical term in type theory, it
13
13
control-flow graph <divid="cfg"/> | A representation of the control-flow of a program; see [the background chapter for more](./background.html#cfg)
14
14
CTFE <divid="ctfe"/> | Short for Compile-Time Function Evaluation, this is the ability of the compiler to evaluate `const fn`s at compile time. This is part of the compiler's constant evaluation system. ([see more](../const-eval.html))
15
15
cx <divid="cx"/> | We tend to use "cx" as an abbreviation for context. See also `tcx`, `infcx`, etc.
16
+
ctxt <divid="ctxt"/> | We also use "ctxt" as an abbreviation for context, e.g. [`TyCtxt`](TyCtxt). See also [cx](#cx) or [tcx](#tcx).
16
17
DAG <divid="dag"/> | A directed acyclic graph is used during compilation to keep track of dependencies between queries. ([see more](../queries/incremental-compilation.html))
17
18
data-flow analysis <divid="data-flow"/> | A static analysis that figures out what properties are true at each point in the control-flow of a program; see [the background chapter for more](./background.html#dataflow).
18
19
DeBruijn Index <divid="debruijn"> | A technique for describing which binder a variable is bound by using only integers. It has the benefit that it is invariant under variable renaming. ([see more](./background.md#what-is-a-debruijn-index))
@@ -73,7 +74,8 @@ span <div id="span"/> | A location in the user's source code
73
74
substs <divid="substs"/> | The substitutions for a given generic type or item (e.g. the `i32`, `u32` in `HashMap<i32, u32>`).
74
75
Tag <divid="tag"/> | The "tag" of an enum/generator encodes the [discriminant](#discriminant) of the active variant/state. Tags can either be "direct" (simply storing the discriminant in a field) or use a ["niche"](#niche).
75
76
tcx <divid="tcx"/> | The "typing context", main data structure of the compiler. ([see more](../ty.html))
76
-
'tcx <divid="lifetime-tcx"/> | The lifetime of the allocation arena. ([see more](../ty.html))
77
+
`'tcx` <divid="lifetime-tcx"/> | The lifetime of the allocation arena. ([see more](../ty.html))
78
+
TyCtxt <divid="tyctxt"> | The data structure often referred to as [tcx](#tcx) in code
77
79
token <divid="token"/> | The smallest unit of parsing. Tokens are produced after lexing ([see more](../the-parser.html)).
78
80
[TLS] <divid="tls"/> | Thread-Local Storage. Variables may be defined so that each thread has its own copy (rather than all threads sharing the variable). This has some interactions with LLVM. Not all platforms support TLS.
79
81
trait reference <divid="trait-ref"/> | The name of a trait along with a suitable set of input type/lifetimes. ([see more](../traits/goals-and-clauses.html#trait-ref))
0 commit comments