Class CAItemLocationMatchExpressions
java.lang.Object
com.io7m.cardant.parsers.CAExpressions
com.io7m.cardant.parsers.CAItemLocationMatchExpressions
- All Implemented Interfaces:
CASyntaxType
Expression parsers for location match expressions.
-
Constructor Summary
ConstructorsConstructorDescriptionCAItemLocationMatchExpressions(CAStrings inStrings) Expression parsers for location match expressions. -
Method Summary
Modifier and TypeMethodDescriptionlocationMatch(String text) Parse a match expression for locations.com.io7m.jsx.SExpressionTypeSerialize a match expression for locations.Serialize a match expression for locations.Methods inherited from class CAExpressions
createParseError, createParseError, parse, ruleBranch, ruleLeaf, ruleLeafWithExamples, serialize, strings
-
Constructor Details
-
CAItemLocationMatchExpressions
Expression parsers for location match expressions.- Parameters:
inStrings- The string resources
-
-
Method Details
-
locationMatch
Parse a match expression for locations.- Parameters:
text- The input location- Returns:
- A match expression
- Throws:
CAException- On errors
-
locationMatchSerialize
Serialize a match expression for locations.- Parameters:
match- The input match- Returns:
- A match expression
-
locationMatchSerializeToString
Serialize a match expression for locations.- Parameters:
match- The input match- Returns:
- A match expression
- Throws:
CAException- On errors
-
syntaxRules
- Returns:
- The syntax rules
-