Package org.antlr.tool
package org.antlr.tool
-
ClassDescriptionDefines behavior of object able to handle error messages from ANTLR including both tool errors like "can't write file" and grammar ambiguity warnings.Move all of the functionality from assign.types.g grammar file.Track the names of attributes define in arg lists, return values, scope blocks etc...Track the attributes within a scope.Given a grammar file, show the dependencies on .tokens etc...A tree of component (delegate) grammars.A tree of grammarsThe DOT (part of graphviz) generation aspect.Defines all the errors ANTLR can generator for both the tool and for issues with a grammar.An aspect of FA (finite automata) that knows how to dump them to serialized strings.Represents a grammar in memory.Reports the condition that ANTLR's LL(*) analysis engine terminated early.Grammars are first converted to ASTs using this class and then are converted to NFAs via a tree walker.Reports a potential parsing issue with a decision; the decision is nondeterministic in some way.Reports a potential parsing issue with a decision; the decision is nondeterministic in some way.Factor out routines that check sanity of rules, alts, grammars, etc..A problem with the symbols and/or meaning of a grammar such as rule redefinition.Serialize a grammar into a highly compressed form with only the info needed to recognize sentences.Load a grammar file and scan it just until we learn a few items of interest.Strip comments and then return stream of words and tokens {';', ':', '{', '}'}A problem with the syntax of your antlr grammar such as "The '{' came as a complete surprise to me at this point in your program"Reports a potential parsing issue with a decision; the decision is nondeterministic in some way.Interpret any ANTLR grammar: java Interp file.g tokens-to-ignore start-rule input-file java Interp C.g 'WS COMMENT' program t.c where the WS and COMMENT are the names of tokens you want to have the parser ignore.The recognition interpreter/engine for grammars.Similar to LeftRecursionMessage except this is used for announcing cycles found by walking rules without decisions; the other msg is invoked when a decision DFA construction finds a problem in closure.The ANTLR code calls methods on ErrorManager to report errors etc...Routines to construct StateClusters from EBNF grammar constructs.More a single alternative recurses so this decision is not regular.Generate a random phrase given a grammar.Indicates recursion overflow.Combine the info associated with a rule.A basic action stripper.A generic message from the tool such as "file not found" type errors; there is no reason to create a special object for each error unlike the grammar errors, which may be rather complex.