Class CAMetadataFieldMatchExpressions
java.lang.Object
com.io7m.cardant.parsers.CAExpressions
com.io7m.cardant.parsers.CAMetadataFieldMatchExpressions
- All Implemented Interfaces:
CASyntaxType
Expression parsers for name match expressions.
-
Constructor Summary
ConstructorsConstructorDescriptionCAMetadataFieldMatchExpressions(CAStrings inStrings) Expression parsers for name match expressions. -
Method Summary
Modifier and TypeMethodDescriptionmetadataFieldMatch(com.io7m.jsx.SExpressionType e) Parse a match expression for names.metadataFieldMatch(String text) Parse a match expression for names.com.io7m.jsx.SExpressionTypemetadataFieldMatchSerialize(CAComparisonExactType<String> expression) Serialize a match expression.Serialize a match expression to a string.Methods inherited from class CAExpressions
createParseError, createParseError, parse, ruleBranch, ruleLeaf, ruleLeafWithExamples, serialize, strings
-
Constructor Details
-
CAMetadataFieldMatchExpressions
Expression parsers for name match expressions.- Parameters:
inStrings- The string resources
-
-
Method Details
-
metadataFieldMatch
Parse a match expression for names.- Parameters:
text- The input text- Returns:
- A match expression
- Throws:
CAException- On errors
-
metadataFieldMatch
Parse a match expression for names.- Parameters:
e- The input expression- Returns:
- A match expression
- Throws:
CAException- On errors
-
metadataFieldMatchSerializeToString
Serialize a match expression to a string.- Parameters:
value- The expression- Returns:
- The serialized text
- Throws:
CAException- On errors
-
metadataFieldMatchSerialize
public com.io7m.jsx.SExpressionType metadataFieldMatchSerialize(CAComparisonExactType<String> expression) Serialize a match expression.- Parameters:
expression- The expression- Returns:
- The serialized expression
-
syntaxRules
- Returns:
- The syntax rules
-