Class Grammar

java.lang.Object
org.codehaus.mojo.antlr.options.Grammar
All Implemented Interfaces:
Serializable

public class Grammar extends Object implements Serializable
A Grammar parameter.
Version:
$Revision$ $Date$
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    Colon separated or semicolon separated supergrammar file names.
    private String
    The grammar file name.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
    Method equals.
    Get colon separated or semicolon separated supergrammar file names.
    Get the grammar file name.
    int
    Method hashCode.
    void
    Set colon separated or semicolon separated supergrammar file names.
    void
    Set the grammar file name.
    Method toString.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • name

      private String name
      The grammar file name.
    • glib

      private String glib
      Colon separated or semicolon separated supergrammar file names.
  • Constructor Details

    • Grammar

      public Grammar()
  • Method Details

    • equals

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other -
      Returns:
      boolean
    • getGlib

      public String getGlib()
      Get colon separated or semicolon separated supergrammar file names.
      Returns:
      String
    • getName

      public String getName()
      Get the grammar file name.
      Returns:
      String
    • hashCode

      public int hashCode()
      Method hashCode.
      Overrides:
      hashCode in class Object
      Returns:
      int
    • setGlib

      public void setGlib(String glib)
      Set colon separated or semicolon separated supergrammar file names.
      Parameters:
      glib -
    • setName

      public void setName(String name)
      Set the grammar file name.
      Parameters:
      name -
    • toString

      public String toString()
      Method toString.
      Overrides:
      toString in class Object
      Returns:
      String