Package examples.expressions
A comparison of timing and node hit statistics between
the CFG and UDT parsers for
the expressions grammar.
Grammar (4.2) from from Aho, Lam, Sethi and Ullman, 2nd ed. (the Dragon Book) is used.
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 Expressions 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 functionExpressions.getInstance()
will return a reference to a static, singleton instance of the class.RunExpressions Uses the the Expressions grammar (4.2) from Aho, Lam, Sethi and Ullman, 2nd ed.UExpressions 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 functionUExpressions.getInstance()
will return a reference to a static, singleton instance of the class. -
Enum Summary Enum Description Expressions.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.Expressions.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.UExpressions.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.UExpressions.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.