Package examples.testudtlib
Class HexNum
- java.lang.Object
-
- apg.Grammar
-
- examples.testudtlib.HexNum
-
public class HexNum extends Grammar
This class has been generated automatically from an SABNF grammar by theGeneratorclass of Java APG, Version 1.1.0.
It is an extension of theGrammarclass containing additional members and enums not found in the base class.
The functiongetInstance()will return a reference to a static, singleton instance of the class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHexNum.RuleNamesThis enum provides easy to remember enum constants for locating the rule identifiers and names.static classHexNum.UdtNamesThis enum provides easy to remember enum constants for locating the UDT identifiers and names.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddisplay(java.io.PrintStream out)Displays the original SABNF grammar on the output device.static GrammargetInstance()Called to get a singleton instance of this class.
-
-
-
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.
-
-