public class ANTLRMessage extends Object
Modifier and Type | Field and Description |
---|---|
int |
charPosition |
String |
fileName |
Grammar |
g |
int |
line |
org.antlr.runtime.Token |
offendingToken
Most of the time, we'll have a token such as an undefined rule ref
and so this will be set.
|
Constructor and Description |
---|
ANTLRMessage(ErrorType errorType) |
ANTLRMessage(ErrorType errorType,
Throwable e,
org.antlr.runtime.Token offendingToken,
Object... args) |
ANTLRMessage(ErrorType errorType,
org.antlr.runtime.Token offendingToken,
Object... args) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getArgs() |
Throwable |
getCause() |
ErrorType |
getErrorType() |
org.stringtemplate.v4.ST |
getMessageTemplate(boolean verbose) |
String |
toString() |
public String fileName
public int line
public int charPosition
public Grammar g
public org.antlr.runtime.Token offendingToken
Copyright © 1992–2020 ANTLR. All rights reserved.