Package hydra.grammar
Class Grammar
- java.lang.Object
-
- hydra.grammar.Grammar
-
- All Implemented Interfaces:
java.io.Serializable
public class Grammar extends java.lang.Object implements java.io.Serializable
An enhanced Backus-Naur form (BNF) grammar- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_VALUE
static Name
TYPE_NAME
java.util.List<Production>
value
-
Constructor Summary
Constructors Constructor Description Grammar(java.util.List<Production> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_VALUE
public static final Name FIELD_NAME_VALUE
-
value
public final java.util.List<Production> value
-
-
Constructor Detail
-
Grammar
public Grammar(java.util.List<Production> value)
-
-