edu.sc.seis.sod.validator.model

## Class Grammar

- java.lang.Object
- - edu.sc.seis.sod.validator.model.Grammar

-     public class Grammar
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Grammar(java.lang.String filename)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(Definition d)`
    `void` | `add(java.lang.String name, Definition d)`
    `boolean` | `equals(java.lang.Object o)`
    `Definition` | `getDef(java.lang.String name)`
    `java.util.List<Definition>` | `getDefs()`
    `java.lang.String` | `getLoc()`
    `Form` | `getRoot()`
    `int` | `hashCode()`
    `void` | `include(Grammar grammar)`
    `java.lang.String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Grammar

          public Grammar(java.lang.String filename)

  - ### Method Detail

    - #### getDefs

          public java.util.List<Definition> getDefs()

    - #### include

          public void include(Grammar grammar)

    - #### getLoc

          public java.lang.String getLoc()

    - #### getRoot

          public Form getRoot()

    - #### add

          public void add(Definition d)

    - #### add

          public void add(java.lang.String name,
                          Definition d)

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### getDef

          public Definition getDef(java.lang.String name)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`