Package com.io7m.cardant.parsers
Class CAConstraintExpressions
java.lang.Object
com.io7m.cardant.parsers.CAExpressions
com.io7m.cardant.parsers.CAConstraintExpressions
Expression parsers for type constraints.
-
Constructor Summary
ConstructorsConstructorDescriptionCAConstraintExpressions(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.protected Map<CAStringConstantType, CAStringConstantType> syntax()Parse a range.Methods inherited from class com.io7m.cardant.parsers.CAExpressions
createParseError, createParseError, parse, serialize
-
Constructor Details
-
CAConstraintExpressions
Expression parsers for type constraints.- Parameters:
inStrings- The string resources
-
-
Method Details
-
syntax
- Specified by:
syntaxin classCAExpressions
-
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
-