Expand description
Observed call edges and evidence shared by tracing and tooling. 追踪与工具共用的已观测调用边与证据。
Re-exports§
pub use super::trace::CallTrace;pub use super::trace::DataEdge;pub use super::trace::DataHop;pub use super::trace::FramePath;pub use super::trace::LocalId;pub use super::trace::LocalKind;pub use super::trace::LocalValue;pub use super::trace::Observation;
Modules§
- trace
- Runtime call frames, observed data edges, and locals. 运行时调用帧、已观测数据边与局部值。
Structs§
- Call
Edge - One call edge that was observed while a
CallTraceframe was active.CallTrace中实际观察到的一条调用边。 - Call
Site - One call edge that was observed while a
CallTraceframe was active.CallTrace中实际观察到的一条调用边。 - Coordinates
- UI coordinates with actual and expected coordinate spaces. 同时携带实际坐标系和预期坐标系的 UI 坐标。
- Graft
Overlay - The effective tree record files produced, with their evidence. 记录文件产生的有效树及其证据。
- Logical
Call Edge - A call edge with invocation IDs removed for topology queries. 去掉调用实例编号、用于拓扑查询的逻辑调用边。
- Provenance
- Ordered evidence explaining how a runtime value was produced. 说明某个运行期取值如何产生的有序证据。
- Provenance
Step - One observation in a provenance chain: which node, object, and operation produced a value. 来源链中的一条观测:记录哪个节点、对象与操作产出了某个取值。
- Recorded
Graft - One persisted graft record, keyed by the directory that held it. 一条持久化嫁接记录,以持有它的目录为键。
- Runtime
Check Failure - Evidence returned when a runtime check rejects a value. 运行期检查拒绝某个取值时返回的证据。
Enums§
- Evidence
Kind - Provenance of a relationship across runtime, MIR, and source evidence. 运行时、MIR 与源码证据共用的关系来源。
- Loaded
Graft - One directory under
.nichlink/external-grafts/, read or broken..nichlink/external-grafts/下的一个目录,读得懂或坏了。 - Record
Report - What reconciliation noticed while turning records into overlay cuts. 把记录变成 overlay 切口时对账注意到的情况。
- Resolved
Record - The outcome of reconciling one record against the base tree alone. 仅凭原树对一条记录做对账的结果。
- Runtime
Check Spec - A named, parameterized check the host runs on produced values. 宿主对产出取值执行的具名参数化校验。
- Runtime
Value - A value observed at runtime, tagged with the evidence that produced it. 运行期观测到的取值,并携带产出它的证据。
- Trace
Mode - Runtime collection policy. 运行时追踪收集策略。
Constants§
- COORDINATES_
IN_ VIEWPORT - The viewport-fitting check, for authoring code to name directly. 视口适配检查,供创作代码直接引用的常量。
- FINITE_
NUMBER - The finite-number check, for authoring code to name directly. 有限数检查,供创作代码直接引用的常量。
- NON_
EMPTY_ TEXT - The non-empty-text check, for authoring code to name directly. 非空文本检查,供创作代码直接引用的常量。
Functions§
- apply_
recorded_ grafts - Load
.nichlink/external-grafts/underpackage_rootand overlay it. 读取package_root下的.nichlink/external-grafts/并覆盖。 - graft_
record_ root - The directory that owns every external graft plan under
package_root.package_root下拥有全部外部 graft 计划的目录。 - load_
graft_ record - Read one plan back by its directory selector. 按目录选择器读回一条计划。
- load_
graft_ records - Every plan directory under
package_root, readable or not, sorted by selector.package_root下的每个计划目录,无论是否可读,按选择器排序。