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

Package com.coasttocoastresearch.apg

Provides the Java APG classes for the parser generator and the generated parsers.

See:
          Description

Class Summary
Ast A class representation of the parser-generated Abstract Syntax Tree (AST).
Ast.AstCallback The base class for all AST callback functions.
Generator The Generator class has a static main() function which is APG, the ABNF Parser Generator.
GeneratorGrammar This is a sample of the Grammar class generated by APG.
Grammar The Grammar class is the interface between the Parser Generator and the Parser.
Parser The Parser class is used to construct a parser for a specific grammar.
Parser.RuleCallback The base class for all rule callback functions.
Parser.UdtCallback Base class for all User-Defined Terminals (UDTs).
Statistics The Statistics class is used to collect and display syntax tree node statistics.
Trace The Trace class will display the exact path followed by the parser on its journey through the syntax tree.
UdtLib This is the parent class for a library of User-Defined Terminals (UDTs).
UdtLib.Alphanum UDT for recognizing alpha-numeric phrases.
UdtLib.Any UDT for recognizing a string of any printing characters.
UdtLib.CComment UDT for recognizing the C-language comments.
UdtLib.Comment UDT for many common comment formats.
UdtLib.CppComment UDT for the C++ language comment.
UdtLib.CRLFLineEnd UDT for the standard CRLF line end.
CR = carriage return, \r or x0D
LF = line feed, newline, \n or x0A
UdtLib.DecNum UDT for a decimal number.
UdtLib.DoubleQuotedString UDT for the double-quoted string.
UdtLib.ForgivingLineEnd UDT for a "forgiving" line end.
UdtLib.HexNum UDT for a hexidecimal number.
UdtLib.LFLineEnd UDT for the LF or newline line end.
LF = line feed, newline, \n or x0A
UdtLib.LineEnd UDT for line end characters.
UdtLib.QuotedString UDT for the quoted-string.
UdtLib.SemiComment UDT for the ABNF comment.
UdtLib.SingleQuotedString UDT for the single-quoted string.
UdtLib.WhiteSpace UDT for any of several choices for white space characters.
Utilities The Utilities class defines several helper classes and static functions.
Utilities.LineCatalog A class for reading a text file and cataloging its text lines.
Utilities.XMLWriter A class for assisting in the writing of XML files.
 

Enum Summary
GeneratorGrammar.RuleNames This enum provides easy to remember enum constants for locating the rule identifiers and names.
GeneratorGrammar.UdtNames This enum provides easy to remember enum constants for locating the rule identifiers and names.
 

Package com.coasttocoastresearch.apg Description

Provides the Java APG classes for the parser generator and the generated parsers. The parser generator is the "main()" function in the Generator class.


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.