Package examples.testudtlib
Class AnyString
- java.lang.Object
-
- apg.Grammar
-
- examples.testudtlib.AnyString
-
public class AnyString extends Grammar
This class has been generated automatically from an SABNF grammar by theGenerator
class of Java APG, Version 1.1.0.
It is an extension of theGrammar
class 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 class
AnyString.RuleNames
This enum provides easy to remember enum constants for locating the rule identifiers and names.static class
AnyString.UdtNames
This 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 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.
-
-
-
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.
-
-