Package org.codehaus.mojo.antlr.options
Class Grammar
java.lang.Object
org.codehaus.mojo.antlr.options.Grammar
- All Implemented Interfaces:
Serializable
A Grammar parameter.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Method equals.getGlib()
Get colon separated or semicolon separated supergrammar file names.getName()
Get the grammar file name.int
hashCode()
Method hashCode.void
Set colon separated or semicolon separated supergrammar file names.void
Set the grammar file name.toString()
Method toString.
-
Field Details
-
name
The grammar file name. -
glib
Colon separated or semicolon separated supergrammar file names.
-
-
Constructor Details
-
Grammar
public Grammar()
-
-
Method Details
-
equals
Method equals. -
getGlib
Get colon separated or semicolon separated supergrammar file names.- Returns:
- String
-
getName
Get the grammar file name.- Returns:
- String
-
hashCode
public int hashCode()Method hashCode. -
setGlib
Set colon separated or semicolon separated supergrammar file names.- Parameters:
glib
-
-
setName
Set the grammar file name.- Parameters:
name
-
-
toString
Method toString.
-