This repository has been archived by the owner on Oct 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v6.3.0: Type Enforcement Rules (#220)
Updates shr-models and shr-text-import to support type enforcement rules * An `Entry`'s parent must be an `Entry` or `Abstract` * An `Element`'s parent must be an `Element` * A `Group`'s parent must be a `Group` * An `Abstract`'s parent must be an `Abstract` * An `Element` can only declare or constrain a `Value`; it cannot declare or constrain `Property`s * An `Element` cannot redeclare a `Value` if it has a parent; it must constrain `Value` instead * A non-`Element` can only declare or constrain `Property`s; it cannot declare or constraint `Value`s
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters