| Interface | Description |
|---|---|
| InternalElement |
The marker interface for internal grammar elements.
|
| Renamer.Translation |
The interface to the actual mapping from nonterminals to
nonterminals.
|
| Class | Description |
|---|---|
| Action |
A semantic action.
|
| ActionBaseValue |
Element to set the semantic value to the result of applying a list
of
actions. |
| AlternativeAddition |
An alternative addition.
|
| AlternativeRemoval |
An alternative removal.
|
| Analyzer |
Utility for analyzing and modifying grammar modules.
|
| Annotator |
Visitor to inject source code annotations into a grammar.
|
| Annotator.Index |
A mutable boxed integer.
|
| Annotator.IndexPair |
A pair of indices.
|
| AnyChar |
The any character element.
|
| Binding |
A binding of a grammar element to a variable.
|
| BindingValue |
Element to set the semantic value to a binding.
|
| CharCase |
A case within a character switch.
|
| CharClass |
A character class terminal.
|
| CharClass.Parser |
Parser for a character class specification.
|
| CharLiteral |
A character literal.
|
| CharRange |
A character range for a character classs.
|
| CharSwitch |
A character switch terminal.
|
| CharTerminal |
The superclass of all character terminals.
|
| ChoiceExpander |
Visitor to expand choices by inlining productions.
|
| CodeGenerator |
The code generator.
|
| Column |
The superclass of memoization table columns.
|
| Copier |
Visitor to copy grammar nodes.
|
| CostEstimator |
Visitor to provide a conservative estimate for the cost of parsing
a production.
|
| DeadProductionEliminator |
Visitor to eliminate dead productions.
|
| DirectLeftRecurser |
Visitor to transform direct left-recursions into equivalent
right-recursions.
|
| DuplicateProductionFolder |
Visitor to fold duplicate productions into a single production.
|
| Element |
The superclass of all grammar elements.
|
| ElementVoider |
Visitor to void ordered choices, repetitions, and options.
|
| EmptyListValue |
Element to set the semantic value to a new empty list.
|
| EquivalenceTester |
Visitor to test productions and elements for equivalence.
|
| FollowedBy |
A followed-by predicate.
|
| FullProduction |
A complete production.
|
| GenericActionValue |
Element to set the semantic value to an
action. |
| GenericNodeValue |
Element to set the semantic value to a
generic node. |
| GenericRecursionValue |
Element to set the semantic value to a list of
actions. |
| GenericValue |
The superclass of all value elements specifying a generic node as
the semantic value.
|
| GenericVoider |
Visitor to turn generic productions into void productions.
|
| Generifier |
Visitor to add generic nodes as semantic values.
|
| Grammar |
A grammar represented as a collection of modules.
|
| GrammarVisitor |
The parent class of all grammar module visitors.
|
| HtmlPrinter |
A grammar pretty printer producing HTML.
|
| Inliner |
Visitor to inline productions.
|
| LeftRecurser |
Visitor to detect left-recursion in a grammar.
|
| ListMaker |
Visitor to add lists as semantic values.
|
| ListValue |
The superclass of all value elements specifying a list as the
semantic value.
|
| Literal |
The superclass of all literals.
|
| MetaData |
The meta-data for a production necessary for code generation.
|
| MetaDataCreator |
Visitor to create the production meta-data.
|
| MetaDataSetter |
Visitor to fill in the production meta-data.
|
| Module |
A grammar module.
|
| ModuleDependency |
A grammar module dependency.
|
| ModuleImport |
A grammar module import.
|
| ModuleInstantiation |
A grammar module instantiation.
|
| ModuleList |
A list of module names as a node.
|
| ModuleMap |
A mapping between module names.
|
| ModuleModification |
A grammar module modification.
|
| ModuleName |
A module name as a node.
|
| Name |
The superclass of all names.
|
| NodeMarker |
Element to set a generic node's name.
|
| NonTerminal |
A nonterminal.
|
| NotFollowedBy |
A not-followed-by predicate.
|
| NullLiteral |
A null literal representing a bindable null value.
|
| NullValue |
Element to set the semantic value to
null. |
| Option |
An optional grammar element.
|
| OrderedChoice |
An ordered choice of grammar elements.
|
| ParseError |
An erroneous parse.
|
| ParserAction |
A parser action.
|
| ParserBase |
The base class for packrat parsers.
|
| ParseTreeNode |
Element to create a parse tree node capturing formatting.
|
| PartialProduction |
A partial production.
|
| PParser |
Packrat parser for grammar
xtc.parser.PGrammar. |
| PParserState |
Parser state for parsing Rats! grammars.
|
| Predicate |
The superclass of all predicates.
|
| PrefixFolder |
Visitor to combine common prefixes into a single sequence with an
embedded choice.
|
| PrettyPrinter |
The grammar pretty printer.
|
| Production |
The superclass of full and partial productions.
|
| ProductionOverride |
A production override.
|
| ProductionVoider |
Visitor to turn the semantic value of a production to void.
|
| ProductionVoider.Tester |
Visitor to determine which productions are voidable.
|
| ProperListValue |
Element to set the semantic value to a list.
|
| Properties |
Definition of node property names.
|
| Quantification |
The superclass of repetitions and options.
|
| Rats |
The command line interface to Rats!, the packrat parser
generator for Java.
|
| ReachabilityChecker |
Visitor to ensure that every alternative is reachable.
|
| ReferenceCounter |
Visitor to fill in meta-data reference counts.
|
| Renamer |
Visitor to rename nonterminals.
|
| Repetition |
A repeated grammar element.
|
| Resolver |
Visitor to resolve grammar module dependencies.
|
| Result |
The superclass of all parser results.
|
| RootFinder |
Visitor to identify a grammar's real root.
|
| SemanticPredicate |
A semantic predicate.
|
| SemanticValue |
A semantic value.
|
| Sequence |
A sequence of grammar elements.
|
| SequenceName |
A sequence name.
|
| Simplifier |
Visitor to simplify a grammar.
|
| StringLiteral |
A literal string terminal.
|
| StringMatch |
A match of a string to a grammar element.
|
| StringValue |
Element to set the semantic value to a string.
|
| Terminal |
The superclass of all terminals.
|
| TerminalOptimizer |
Visitor to optimize the recognition of terminals by introducing
character switches.
|
| TextTester |
Visitor to identify text-only productions.
|
| Tokenizer |
Visitor to recognize token-level productions.
|
| Tokenizer.Tester |
Visitor to determine which productions are lexical.
|
| TokenValue |
Element to collect a production's text as a token.
|
| Transformer |
Visitor to transform productions.
|
| TransientMarker |
Visitor to detect productions that can be treated as transient.
|
| TreeExtractor |
Visitor to pear down a grammar to the structure of its abstract
syntax tree.
|
| TreeTyper |
Visitor to determine a grammar's tree structure.
|
| UnaryOperator |
The superclass of all unary operators.
|
| ValueChecker |
Visitor to ensure that every alternative has a semantic value.
|
| ValueElement |
The superclass of all value elements.
|
| VariantSorter |
Visitor to infer a grammar's variants.
|
| VoidedElement |
A voided element.
|
| Enum | Description |
|---|---|
| ChoiceExpander.Mode |
The processing mode.
|
| Element.Tag |
An element's tag.
|
| Exception | Description |
|---|---|
| ParseException |
An exception representing a
parse error. |
Copyright © 2014. All Rights Reserved.