containsError property

bool get containsError

Whether this subtree contains a recovery error.

Recovery normalization asks this repeatedly on trees that are mostly reused from the previous revision. Cache every visited node so an edit near EOF does not rebuild the complete document during each cleanup pass.

Implementation

bool get containsError => _containsError;