# Class CASyntaxRules

java.lang.Object
com.io7m.cardant.parsers.CASyntaxRules

public final class CASyntaxRules extends Object
A directory of syntax rules.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static CASyntaxRules`
  `open(CAStrings strings)`
  Open a syntax rule directory from ServiceLoader.
  `SortedMap<String,CASyntaxRuleType>`
  `rules()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### open

    public static CASyntaxRules open(CAStrings strings)
    Open a syntax rule directory from ServiceLoader.
    Parameters:
      `strings` - The strings
    Returns:
      The syntax rules

  - ### rules

    public SortedMap<String,CASyntaxRuleType> rules()
    Returns:
      A read-only map of the known syntax rules

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`