semanticInspectionSnapshot method
Returns a machine-readable semantic inspection snapshot for the tree.
The snapshot uses the same redaction-aware serializer as debug capture, making it useful for regression tests and future automation adapters without depending on rendered cells or debug-capture artifacts.
Implementation
SemanticInspectionSnapshot semanticInspectionSnapshot() {
_assertNotDisposed('semanticInspectionSnapshot');
return semantics().toInspectionSnapshot();
}