Package org.h2.bnf

Class RuleHead


  • public class RuleHead
    extends java.lang.Object
    Represents the head of a BNF rule.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Rule rule  
      private java.lang.String section  
      private java.lang.String topic  
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleHead​(java.lang.String section, java.lang.String topic, Rule rule)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Rule getRule()  
      java.lang.String getSection()  
      java.lang.String getTopic()  
      (package private) void setRule​(Rule rule)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • section

        private final java.lang.String section
      • topic

        private final java.lang.String topic
      • rule

        private Rule rule
    • Constructor Detail

      • RuleHead

        RuleHead​(java.lang.String section,
                 java.lang.String topic,
                 Rule rule)
    • Method Detail

      • getTopic

        public java.lang.String getTopic()
      • getRule

        public Rule getRule()
      • setRule

        void setRule​(Rule rule)
      • getSection

        public java.lang.String getSection()