Package examples.anbn
A comparison of timing and node hit statistics between
the CFG and UDT parsers for
the anbn, n > 0, grammar.
Disclaimer: This example should not be considered as part of the Java APG API. Backward compatibility or even the existance of this example from version to version is not guaranteed.
-
Class Summary Class Description AnBn 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 functionAnBn.getInstance()
will return a reference to a static, singleton instance of the class.RunAnBn Uses the grammar for the strings anbn, n > 0, for a comparison of timing and node hits between the normal CFG grammar and the use of UDT functions.UAnBn 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 functionUAnBn.getInstance()
will return a reference to a static, singleton instance of the class. -
Enum Summary Enum Description AnBn.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.AnBn.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.UAnBn.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.UAnBn.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.