Class CAMetadataConstraintExpressions
java.lang.Object
com.io7m.cardant.parsers.CAExpressions
com.io7m.cardant.parsers.CAMetadataConstraintExpressions
-
Constructor Summary
ConstructorsConstructorDescriptionCAMetadataConstraintExpressions(CAStrings inStrings) Expression parsers for type constraints. -
Method Summary
Modifier and TypeMethodDescriptioncom.io7m.jranges.RangeInclusiveLintegerRange(String text) Parse a range.monetaryRange(String text) Parse a range.com.io7m.jranges.RangeInclusiveDParse a range.Parse a range.Methods inherited from class com.io7m.cardant.parsers.CAExpressions
createParseError, createParseError, parse, ruleBranch, ruleLeaf, ruleLeafWithExamples, serialize, strings
-
Constructor Details
-
CAMetadataConstraintExpressions
Expression parsers for type constraints.- Parameters:
inStrings- The string resources
-
-
Method Details
-
timeRange
Parse a range.- Parameters:
text- The text- Returns:
- A range
- Throws:
CAException- On errors
-
integerRange
Parse a range.- Parameters:
text- The text- Returns:
- A range
- Throws:
CAException- On errors
-
realRange
Parse a range.- Parameters:
text- The text- Returns:
- A range
- Throws:
CAException- On errors
-
monetaryRange
Parse a range.- Parameters:
text- The text- Returns:
- A range
- Throws:
CAException- On errors
-
syntaxRules
- Returns:
- The syntax rules
-