Package | Description |
---|---|
org.antlr.v4 | |
org.antlr.v4.tool |
Modifier and Type | Method and Description |
---|---|
void |
Tool.error(ANTLRMessage msg) |
void |
Tool.warning(ANTLRMessage msg) |
Modifier and Type | Class and Description |
---|---|
class |
GrammarSemanticsMessage
A problem with the symbols and/or meaning of a grammar such as rule
redefinition.
|
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"
|
class |
LeftRecursionCyclesMessage |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ErrorManager.emit(ErrorType etype,
ANTLRMessage msg) |
void |
DefaultToolListener.error(ANTLRMessage msg) |
void |
ANTLRToolListener.error(ANTLRMessage msg) |
org.stringtemplate.v4.ST |
ErrorManager.getMessageTemplate(ANTLRMessage msg) |
void |
DefaultToolListener.warning(ANTLRMessage msg) |
void |
ANTLRToolListener.warning(ANTLRMessage msg) |
Copyright © 1992–2020 ANTLR. All rights reserved.