Package EDU.purdue.jtb.parser
package EDU.purdue.jtb.parser
-
ClassDescriptionDescribes actions that may occur on the right hand side of productions.Describes BNF productions.Describes character range descriptors in a character list.Describes expansions where one of many choices is taken (c1 | c2 | ...).An object container.Describes expansions - entities that may occur on the right hand sides of productions.Subclasses enum typeOutput error messages and keep track of totals.This package contains data created as a result of parsing and semanticizing a JavaCC input file.Token literal values and constants.Utilities.An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).Describes JAVACODE productions.Token literal values and constants.Token Manager.Generate lexer.Describes lookahead rule for a particular expansion or expansion sequence (See Sequence.java).A Non-deterministic Finite Automaton.The state of a Non-deterministic Finite Automaton.Describes non terminals.Describes JavaCC productions.Describes one-or-more expansions (e.g., foo+).A class that stores all JTB / JavaCC file options information.This exception is thrown when parse errors are encountered.Describes character lists.Describes regular expressions which are choices from from among included regular expressions.The object type of entries in the vector "respecs" of class "TokenProduction".Describes regular expressions.Describes the EOF regular expressionDescribes regular expressions which are referred to just by their name.Describes one-or-more regular expressions (invalid input: '<'foo+>).Describes one-or-more regular expressions (invalid input: '<'foo+>).Describes regular expressions which are sequences of other regular expressions.Describes string literals.Describes zero-or-more regular expressions (invalid input: '<'foo*>).Describes zero-or-one regular expressions (invalid input: '<'foo?>).Describes expansions that are sequences of expansion units.Describes single character descriptors in a character list.Represents a JavaCC single token in the grammar and a JTB corresponding node.
The class holds all the fields and methods generated normally by JavaCC, plus the ones required by JTB.
If the "-tk" JTB option is used, it also contains an ArrayList of preceding special tokens.Token Manager Error.Describes the various regular expression productions.Describes expansions of the form "try {...} ...".A set of routines that walk down the Expansion_ tree in various ways.
Not used by JTB.Objects of this type are passed to the tree walker routines inUnusedExpansionTreeWalker
.Generates the contents of the invariant files (TokenMgrError.java, ParseException.java,Token.java, TokenManager.java, CharStream.java, JavaCharStream.java, SimpleCharStream.java).
Not used by JTB.Not used by JTB.Not used by JTB.Describes a match, within a given lookahead.
Not used by JTB.Thrown when there is a mis-configuration or a bug.
Not used by JTB.Generates the invariant files (TokenMgrError.java, ParseException.java,Token.java, TokenManager.java, CharStream.java, JavaCharStream.java, SimpleCharStream.java) and the 'Parser'Constants.java.
Not used by JTB.This class handles the creation and maintenance of the boiler-plate (invariant) classes, (TokenMgrError.java, ParseException.java,Token.java, TokenManager.java, CharStream.java, JavaCharStream.java, SimpleCharStream.java).
It is responsible for: Writing the JavaCC header lines to the file. Writing the checksum line. Using the checksum to determine if an existing file has been changed by the user (and so should be left alone). Checking any existing file's version (if the file can not be overwritten). Checking any existing file's creation options (if the file can not be overwritten).
Not used by JTB.Not used by JTB.Generate the parser.
Not used by JTB.Not used by JTB.Describes zero-or-more expansions (e.g., foo*).Describes zero-or-one expansions (e.g., [foo], foo?).