public class ANTLRMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
charPosition
|
String |
fileName
|
Grammar |
g
|
int |
line
|
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
|
ANTLRMessage(ErrorType
|
ANTLRMessage(ErrorType
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getArgs()
|
Throwable |
getCause()
|
ErrorType |
getErrorType()
|
ST |
getMessageTemplate(boolean verbose)
|
String |
toString()
|
public StringfileName
public int line
public int charPosition
public Grammarg
public Token offendingToken
public ANTLRMessage(ErrorTypeerrorType)