Class LineEnd


  • public class LineEnd
    extends Grammar
    This class has been generated automatically from an SABNF grammar by the Generator class of Java APG, Version 1.1.0.
    It is an extension of the Grammar class containing additional members and enums not found in the base class.
    The function getInstance() will return a reference to a static, singleton instance of the class.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LineEnd.RuleNames
      This enum provides easy to remember enum constants for locating the rule identifiers and names.
      static class  LineEnd.UdtNames
      This enum provides easy to remember enum constants for locating the UDT identifiers and names.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ruleCount
      The number of rules in the grammar
      static int udtCount
      The number of UDTs in the grammar
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void display​(java.io.PrintStream out)
      Displays the original SABNF grammar on the output device.
      static Grammar getInstance()
      Called to get a singleton instance of this class.
      • Methods inherited from class java.lang.Object

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

      • ruleCount

        public static int ruleCount
        The number of rules in the grammar
      • udtCount

        public static int udtCount
        The number of UDTs in the grammar
    • Method Detail

      • getInstance

        public static Grammar getInstance()
        Called to get a singleton instance of this class.
        Returns:
        a singleton instance of this class, cast as the base class, Grammar.
      • display

        public static void display​(java.io.PrintStream out)
        Displays the original SABNF grammar on the output device.
        Parameters:
        out - the output device to display on.