Package org.javacc.parser
A grammar and lexer generator.
-
Interface Summary Interface Description CodeGenerator JavaCCParserConstants Token literal values and constants.ParserCodeGenerator TokenCodeGenerator TokenManagerCodeGenerator TreeWalkerOp Objects of this type are passed to the tree walker routines in ExpansionTreeWalker. -
Class Summary Class Description Action Describes actions that may occur on the right hand side of productions.BNFProduction Describes BNF productions.CharacterRange Describes character range descriptors in a character list.Choice Describes expansions where one of many choices is taken (c1|c2|...).CodeGeneratorSettings TheCodeGeneratorSettingsimplements aMapbuilderCodeProduction Describes a CODE productions.Container<T> An object container.Context The JavaCC context provides all environment variables for the code generation process.CppCodeProduction Describes CPPCODE productions.Expansion Describes expansions - entities that may occur on the right hand sides of productions.ExpansionTreeWalker A set of routines that walk down the Expansion tree in various ways.JavaCCErrors Output error messages and keep track of totals.JavaCCGlobals This package contains data created as a result of parsing and semanticizing a JavaCC input file.JavaCCParser JavaCCParser.JJCalls JavaCCParser.ModifierSet Class to hold modifiers.JavaCCParserInternals Utilities.JavaCCParserTokenManager Token Manager.JavaCharStream An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).JavaCodeProduction Describes JAVACODE productions.LexerContext The lexer context provides all variables for aLexGeninstance.LexGen Generate lexer.Lookahead Describes lookahead rule for a particular expansion or expansion sequence (See Sequence.java).LookaheadCalc LookaheadWalk Main Entry point.MatchInfo Describes a match, within a given lookahead.Nfa A Non-deterministic Finite Automaton.NfaState The state of a Non-deterministic Finite Automaton.NonTerminal Describes non terminals.NormalProduction Describes JavaCC productions.OneOrMore Describes one-or-more expansions (e.g., foo+).Options A class with static state that stores all option information.Pair<A,B> ParserData RCharacterList Describes character lists.RChoice Describes regular expressions which are choices from from among included regular expressions.RegExprSpec The object type of entries in the vector "respecs" of class "TokenProduction".RegularExpression Describes regular expressions.REndOfFile Describes the EOF regular expressionRJustName Describes regular expressions which are referred to just by their name.ROneOrMore Describes one-or-more regular expressions (). RRepetitionRange Describes one-or-more regular expressions (). RSequence Describes regular expressions which are sequences of other regular expressions.RStringLiteral Describes string literals.RZeroOrMore Describes zero-or-more regular expressions (). RZeroOrOne Describes zero-or-one regular expressions (). Semanticize Semanticize.EmptyChecker Semanticize.FixRJustNames Objects of this class are created from class Semanticize to work on references to regular expressions from RJustName's.Semanticize.LookaheadChecker Semanticize.LookaheadFixer Semanticize.ProductionDefinedChecker Sequence Describes expansions that are sequences of expansion units.SingleCharacter Describes single character descriptors in a character list.Token Describes the input token stream.Token.GTToken Greater than Token.TokenizerData TokenizerData.MatchInfo TokenizerData.NfaState TokenProduction Describes the various regular expression productions.TryBlock Describes expansions of the form "try {...} ...".ZeroOrMore Describes zero-or-more expansions (e.g., foo*).ZeroOrOne Describes zero-or-one expansions (e.g., [foo], foo?). -
Enum Summary Enum Description TokenizerData.MatchType -
Exception Summary Exception Description MetaParseException Thrown when there is a mis-configuration or a bug.ParseException This exception is thrown when parse errors are encountered. -
Error Summary Error Description JavaCCParser.LookaheadSuccess TokenMgrError Token Manager Error.