Top Interfaces Classes Enums
module antlr4

Package org.antlr.v4.tool


Interface Summary

Modifier and TypeInterface and Description
public interface
ANTLRToolListener

Defines behavior of object able to handle error messages from ANTLR including both tool errors like "can't write file" and grammar ambiguity warnings.

public interface
AttributeResolver

Grammars, rules, and alternatives all have symbols visible to actions.

Class Summary

Modifier and TypeClass and Description
public class
Alternative

An outermost alternative for a rule.

public class
public class
Attribute

Track the names of attributes defined in arg lists, return values, scope blocks etc...

public class
AttributeDict

Track the attributes within retval, arg lists etc...

public class
BuildDependencyGenerator

Given a grammar file, show the dependencies on .tokens etc...

public class
public class
DOTGenerator

The DOT (part of graphviz) generation aspect.

public class
public class
public class
GrammarInterpreterRuleContext

An InterpreterRuleContext that knows which alternative for a rule was matched.

public class
GrammarParserInterpreter

A heavier weight ParserInterpreter that creates parse trees that track alternative numbers for subtree roots.

public class
GrammarSemanticsMessage

A problem with the symbols and/or meaning of a grammar such as rule redefinition.

public class
GrammarSyntaxMessage

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"

public class
GrammarTransformPipeline

Handle left-recursion and block-set transforms

public class
public class
public class
public class
public class
public class
ToolMessage

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.

Enum Summary

Modifier and TypeEnum and Description
public enum
ErrorSeverity

Abstracts away the definition of Message severity and the text that should display to represent that severity if there is no StringTemplate available to do it.

public enum
ErrorType

A complex enumeration of all the error messages that the tool can issue.

public enum
LabelType

the various kinds of labels.