public class GrammarSyntaxMessage extends ANTLRMessage
Modifier and Type | Field and Description |
---|---|
Grammar |
g |
org.antlr.runtime.Token |
offendingToken
Most of the time, we'll have a token and so this will be set.
|
charPosition, fileName, line
Constructor and Description |
---|
GrammarSyntaxMessage(ErrorType etype,
String fileName,
org.antlr.runtime.Token offendingToken,
org.antlr.runtime.RecognitionException antlrException,
Object... args) |
Modifier and Type | Method and Description |
---|---|
org.antlr.runtime.RecognitionException |
getCause() |
getArgs, getErrorType, getMessageTemplate, toString
public Grammar g
public org.antlr.runtime.Token offendingToken
public org.antlr.runtime.RecognitionException getCause()
getCause
in class ANTLRMessage
Copyright © 1992–2014 ANTLR. All rights reserved.