Package com.io7m.cardant.parsers
Class CANameMatchExpressions
java.lang.Object
com.io7m.cardant.parsers.CAExpressions
com.io7m.cardant.parsers.CANameMatchExpressions
Expression parsers for name match expressions.
-
Constructor Summary
ConstructorsConstructorDescriptionCANameMatchExpressions(CAStrings inStrings) Expression parsers for name match expressions. -
Method Summary
Modifier and TypeMethodDescriptionnameMatch(com.io7m.jsx.SExpressionType e) Parse a match expression for names.Parse a match expression for names.com.io7m.jsx.SExpressionTypenameMatchSerialize(CAComparisonFuzzyType<String> expression) Serialize a match expression.Serialize a match expression to a string.protected Map<CAStringConstantType, CAStringConstantType> syntax()Methods inherited from class com.io7m.cardant.parsers.CAExpressions
createParseError, createParseError, parse, serialize
-
Constructor Details
-
CANameMatchExpressions
Expression parsers for name match expressions.- Parameters:
inStrings- The string resources
-
-
Method Details
-
syntax
- Specified by:
syntaxin classCAExpressions
-
nameMatch
Parse a match expression for names.- Parameters:
text- The input text- Returns:
- A match expression
- Throws:
CAException- On errors
-
nameMatch
Parse a match expression for names.- Parameters:
e- The input expression- Returns:
- A match expression
- Throws:
CAException- On errors
-
nameMatchSerializeToString
Serialize a match expression to a string.- Parameters:
value- The expression- Returns:
- The serialized text
- Throws:
CAException- On errors
-
nameMatchSerialize
Serialize a match expression.- Parameters:
expression- The expression- Returns:
- The serialized expression
-