Package apg
This package contains APG, the parser generator, and the runtime library required by the generated parsers.
More package info.
-
Class Summary Class Description 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 staticmain()
function which is APG, the ABNF Parser Generator.GeneratorGrammar 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 functionGeneratorGrammar.getInstance()
will return a reference to a static, singleton instance of the class.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
orx0D
LF = line feed, newline,\n
orx0A
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
orx0A
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 Enum Description 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 UDT identifiers and names.