Class CAItemSerialMatchExpressions
java.lang.Object
com.io7m.cardant.parsers.CAExpressions
com.io7m.cardant.parsers.CAItemSerialMatchExpressions
- All Implemented Interfaces:
CASyntaxType
Expression parsers for name match expressions.
-
Constructor Summary
ConstructorsConstructorDescriptionCAItemSerialMatchExpressions(CAStrings inStrings) Expression parsers for name match expressions. -
Method Summary
Modifier and TypeMethodDescriptionserialMatch(com.io7m.jsx.SExpressionType e) Parse a match expression for names.serialMatch(String text) Parse a match expression for names.com.io7m.jsx.SExpressionTypeserialMatchSerialize(CAComparisonExactType<CAItemSerial> 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
-
CAItemSerialMatchExpressions
Expression parsers for name match expressions.- Parameters:
inStrings- The string resources
-
-
Method Details
-
serialMatch
Parse a match expression for names.- Parameters:
text- The input text- Returns:
- A match expression
- Throws:
CAException- On errors
-
serialMatch
Parse a match expression for names.- Parameters:
e- The input expression- Returns:
- A match expression
- Throws:
CAException- On errors
-
serialMatchSerializeToString
Serialize a match expression to a string.- Parameters:
value- The expression- Returns:
- The serialized text
- Throws:
CAException- On errors
-
serialMatchSerialize
public com.io7m.jsx.SExpressionType serialMatchSerialize(CAComparisonExactType<CAItemSerial> expression) Serialize a match expression.- Parameters:
expression- The expression- Returns:
- The serialized expression
-
syntaxRules
- Returns:
- The syntax rules
-