Package hydra.grammar

Class 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 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)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object