Class: Chemicalml::Convention::Constraint::DocumentConstraint
- Inherits:
-
Constraint
- Object
- Constraint
- Chemicalml::Convention::Constraint::DocumentConstraint
- Defined in:
- lib/chemicalml/convention/constraint.rb
Overview
DocumentConstraint: operates on the whole document at once — used for cross-cutting rules like "atom ids unique within molecule". Walks the tree itself; not subject to dispatch.