Top Description Fields Constructors Methods
org.antlr.v4.tool

public Class GrammarSyntaxMessage

extends ANTLRMessage
Class Inheritance
Imports
org.antlr.runtime.RecognitionException, .Token

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"

Field Summary

Inherited from org.antlr.v4.tool.ANTLRMessage:
charPositionfileNameglineoffendingToken

Constructor Summary

AccessConstructor and Description
public
GrammarSyntaxMessage(ErrorType etype, String fileName, Token offendingToken, RecognitionException antlrException, Object... args)

Method Summary

Modifier and TypeMethod and Description
public RecognitionException
Inherited from org.antlr.v4.tool.ANTLRMessage:
getArgsgetErrorTypegetMessageTemplatetoString

Constructor Detail

GrammarSyntaxMessageback to summary
public GrammarSyntaxMessage(ErrorType etype, String fileName, Token offendingToken, RecognitionException antlrException, Object... args)

Method Detail

getCauseback to summary
public RecognitionException getCause()

Overrides org.antlr.v4.tool.ANTLRMessage.getCause.

Annotations
@SuppressWarnings:ThrowableResultOfMethodCallIgnored
@Override