Class CADescriptionMatchExpressions
java.lang.Object
com.io7m.cardant.parsers.CAExpressions
com.io7m.cardant.parsers.CADescriptionMatchExpressions
-
Constructor Summary
ConstructorsConstructorDescriptionCADescriptionMatchExpressions(CAStrings inStrings) Expression parsers for description match expressions. -
Method Summary
Modifier and TypeMethodDescriptiondescriptionMatch(com.io7m.jsx.SExpressionType e) Parse a match expression for descriptions.descriptionMatch(String text) Parse a match expression for descriptions.com.io7m.jsx.SExpressionTypedescriptionMatchSerialize(CAComparisonFuzzyType<String> expression) Serialize a match expression.Serialize a match expression to a string.Methods inherited from class com.io7m.cardant.parsers.CAExpressions
createParseError, createParseError, parse, ruleBranch, ruleLeaf, ruleLeafWithExamples, serialize, strings
-
Constructor Details
-
CADescriptionMatchExpressions
Expression parsers for description match expressions.- Parameters:
inStrings- The string resources
-
-
Method Details
-
descriptionMatch
Parse a match expression for descriptions.- Parameters:
text- The input text- Returns:
- A match expression
- Throws:
CAException- On errors
-
descriptionMatch
Parse a match expression for descriptions.- Parameters:
e- The input expression- Returns:
- A match expression
- Throws:
CAException- On errors
-
descriptionMatchSerializeToString
Serialize a match expression to a string.- Parameters:
value- The expression- Returns:
- The serialized text
- Throws:
CAException- On errors
-
descriptionMatchSerialize
public com.io7m.jsx.SExpressionType descriptionMatchSerialize(CAComparisonFuzzyType<String> expression) Serialize a match expression.- Parameters:
expression- The expression- Returns:
- The serialized expression
-
syntaxRules
- Returns:
- The syntax rules
-