Package examples.anbncn
A comparison of timing and node hit statistics between
the CFG and UDT parsers for
the anbncn, 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 AnBnCn 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 functionAnBnCn.getInstance()
will return a reference to a static, singleton instance of the class.RunAnBnCn Uses the grammar for the strings anbncn, n > 0, for a comparison of timing and node hits between the normal CFG grammar and the use of UDT functions.UAnBnCn 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 functionUAnBnCn.getInstance()
will return a reference to a static, singleton instance of the class. -
Enum Summary Enum Description AnBnCn.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.AnBnCn.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.UAnBnCn.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.UAnBnCn.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.