antlr

Class NoViableAltException


public class NoViableAltException
extends RecognitionException

Field Summary

AST
node
Token
token

Fields inherited from class antlr.RecognitionException

column, fileName, line

Constructor Summary

NoViableAltException(Token t, String fileName_)
NoViableAltException(AST t)

Method Summary

String
getMessage()
Returns a clean error message (no line number/column information)

Methods inherited from class antlr.RecognitionException

getColumn, getErrorMessage, getFilename, getLine, toString

Field Details

node

public AST node


token

public Token token

Constructor Details

NoViableAltException

public NoViableAltException(Token t,
                            String fileName_)


NoViableAltException

public NoViableAltException(AST t)

Method Details

getMessage

public String getMessage()
Returns a clean error message (no line number/column information)