Class CAItemLocationMatchExpressions

java.lang.Object
com.io7m.cardant.parsers.CAExpressions
com.io7m.cardant.parsers.CAItemLocationMatchExpressions
All Implemented Interfaces:
CASyntaxType

public final class CAItemLocationMatchExpressions extends CAExpressions
Expression parsers for location match expressions.
  • Constructor Details

    • CAItemLocationMatchExpressions

      public CAItemLocationMatchExpressions(CAStrings inStrings)
      Expression parsers for location match expressions.
      Parameters:
      inStrings - The string resources
  • Method Details

    • locationMatch

      public CALocationMatchType locationMatch(String text) throws CAException
      Parse a match expression for locations.
      Parameters:
      text - The input location
      Returns:
      A match expression
      Throws:
      CAException - On errors
    • locationMatchSerialize

      public com.io7m.jsx.SExpressionType locationMatchSerialize(CALocationMatchType match)
      Serialize a match expression for locations.
      Parameters:
      match - The input match
      Returns:
      A match expression
    • locationMatchSerializeToString

      public String locationMatchSerializeToString(CALocationMatchType match) throws CAException
      Serialize a match expression for locations.
      Parameters:
      match - The input match
      Returns:
      A match expression
      Throws:
      CAException - On errors
    • syntaxRules

      public SortedSet<CASyntaxRuleType> syntaxRules()
      Returns:
      The syntax rules