Java APG, Version 1.0
Author Lowell D. Thomas
Copyright © Coast to Coast Research, Inc. 2011

Package com.coasttocoastresearch.examples.demo

Some demonstrations of using the main features of Java APG.

See:
          Description

Class Summary
DisplayAst A simple demonstration of how to generate and display an Abstract Syntax Tree (AST).
DisplayTrace A simple demonstration of how to display the trace of the parser's path through the syntax tree.
Expressions This class has been generated automatically from an SABNF grammer by Java APG, the Generator class.
It is an extension of the Grammar class containing additional members and enums not found in the base class.
The function Expressions.getInstance() will return a reference to a static, singleton instance of the class.
Hostname This class has been generated automatically from an SABNF grammer by Java APG, the Generator class.
It is an extension of the Grammar class containing additional members and enums not found in the base class.
The function Hostname.getInstance() will return a reference to a static, singleton instance of the class.
IPv4 This class has been generated automatically from an SABNF grammer by Java APG, the Generator class.
It is an extension of the Grammar class containing additional members and enums not found in the base class.
The function IPv4.getInstance() will return a reference to a static, singleton instance of the class.
TranslateAst A demonstration of how to use AST callback functions to translate the AST.
UdtAsAlt This is a demonstration of how to use a UDT as a specialized alternate (ALT) operation.
UdtToAst This example demonstrates how to add nodes to the AST from a UDT.
UExpressions This class has been generated automatically from an SABNF grammer by Java APG, the Generator class.
It is an extension of the Grammar class containing additional members and enums not found in the base class.
The function UExpressions.getInstance() will return a reference to a static, singleton instance of the class.
UHostname This class has been generated automatically from an SABNF grammer by Java APG, the Generator class.
It is an extension of the Grammar class containing additional members and enums not found in the base class.
The function UHostname.getInstance() will return a reference to a static, singleton instance of the class.
UIPv4 This class has been generated automatically from an SABNF grammer by Java APG, the Generator class.
It is an extension of the Grammar class containing additional members and enums not found in the base class.
The function UIPv4.getInstance() will return a reference to a static, singleton instance of the class.
 

Enum Summary
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.
Hostname.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.
Hostname.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.
IPv4.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.
IPv4.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.
UHostname.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.
UHostname.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.
UIPv4.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.
UIPv4.UdtNames This enum provides easy to remember enum constants for locating the UDT identifiers and names.
 

Package com.coasttocoastresearch.examples.demo Description

Some demonstrations of using the main features of Java APG. The source code should be consulted for details.

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.


Java APG, Version 1.0
Author Lowell D. Thomas
Copyright © Coast to Coast Research, Inc. 2011

Licence Notification

All the software in this distribution is free software:
you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program in the COPYING file. If not, see GPL, Version 2
or GPL, Version 3 or write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.