Metarules
JDP.Metarules
— ModuleMetarules are generic constraints which can be placed on an object to describe how it relates to other objects. They have a textual representation and can be embedded within any text so long as the surrounding text does not contain any unmatched [
.
JDP.Metarules.Comparison
— TypeDescribes a comparison between a field's value in an object and the specified value.
JDP.Metarules.Rule
— TypeA rule specifying a general constraint
JDP.Metarules.extract
— MethodTry to extract a vector of rules from text
Returns an empty vector if unsuccessful.
JDP.Metarules.interpret!
— MethodTry to convert the Julia AST expr
into rules