@Override public void reportError(RecognitionException e) { String msg = null; if ( e instanceof NoViableAltException ) { msg = "invalid character '"+(char)input.LA(1)+"'"; } else if ( e instanceof MismatchedTokenException && ((MismatchedTokenException)e).expecting=='"' ) { msg = "unterminated string"; } else { msg = getErrorMessage(e, getTokenNames()); } group.errMgr.groupSyntaxError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); } @Override
@Override public void reportError(RecognitionException e) { String msg = null; if ( e instanceof NoViableAltException ) { msg = "invalid character '"+(char)input.LA(1)+"'"; } else if ( e instanceof MismatchedTokenException && ((MismatchedTokenException)e).expecting=='"' ) { msg = "unterminated string"; } else { msg = getErrorMessage(e, getTokenNames()); } group.errMgr.groupSyntaxError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); } @Override
public void reportError(RecognitionException e) { String msg = null; if ( e instanceof NoViableAltException ) { msg = "invalid character '"+(char)input.LA(1)+"'"; } else if ( e instanceof MismatchedTokenException && ((MismatchedTokenException)e).expecting=='"' ) { msg = "unterminated string"; } else { msg = getErrorMessage(e, getTokenNames()); } group.errMgr.groupSyntaxError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); } public String getSourceName() {
@Override public void reportError(RecognitionException e) { String msg = null; if ( e instanceof NoViableAltException ) { msg = "invalid character '"+(char)input.LA(1)+"'"; } else if ( e instanceof MismatchedTokenException && ((MismatchedTokenException)e).expecting=='"' ) { msg = "unterminated string"; } else { msg = getErrorMessage(e, getTokenNames()); } group.errMgr.groupSyntaxError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); } @Override
@Override public void reportError(RecognitionException e) { String msg = null; if ( e instanceof NoViableAltException ) { msg = "invalid character '"+(char)input.LA(1)+"'"; } else if ( e instanceof MismatchedTokenException && ((MismatchedTokenException)e).expecting=='"' ) { msg = "unterminated string"; } else { msg = getErrorMessage(e, getTokenNames()); } group.errMgr.groupSyntaxError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); } @Override
@Override public void reportError(RecognitionException e) { String msg = null; if ( e instanceof NoViableAltException ) { msg = "invalid character '"+(char)input.LA(1)+"'"; } else if ( e instanceof MismatchedTokenException && ((MismatchedTokenException)e).expecting=='"' ) { msg = "unterminated string"; } else { msg = getErrorMessage(e, getTokenNames()); } group.errMgr.groupSyntaxError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); } @Override
group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg);
group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg);
group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg);
@Override public void reportError(RecognitionException e) { String msg = null; if ( e instanceof NoViableAltException ) { msg = "invalid character '"+(char)input.LA(1)+"'"; } else if ( e instanceof MismatchedTokenException && ((MismatchedTokenException)e).expecting=='"' ) { msg = "unterminated string"; } else { msg = getErrorMessage(e, getTokenNames()); } group.errMgr.groupSyntaxError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); } @Override
group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg);
@Override public void reportError(RecognitionException e) { String msg = null; if ( e instanceof NoViableAltException ) { msg = "invalid character '"+(char)input.LA(1)+"'"; } else if ( e instanceof MismatchedTokenException && ((MismatchedTokenException)e).expecting=='"' ) { msg = "unterminated string"; } else { msg = getErrorMessage(e, getTokenNames()); } group.errMgr.groupSyntaxError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); } @Override
MismatchedTokenException e = new MismatchedTokenException('}', input); String msg = "missing final '}' in {...} anonymous template"; group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); break;
MismatchedTokenException e = new MismatchedTokenException('}', input); String msg = "missing final '}' in {...} anonymous template"; group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); break;
MismatchedTokenException e = new MismatchedTokenException('}', input); String msg = "missing final '}' in {...} anonymous template"; group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); break;
MismatchedTokenException e = new MismatchedTokenException('}', input); String msg = "missing final '}' in {...} anonymous template"; group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); break;
MismatchedTokenException e = new MismatchedTokenException('}', input); String msg = "missing final '}' in {...} anonymous template"; group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); break;
MismatchedTokenException e = new MismatchedTokenException('}', input); String msg = "missing final '}' in {...} anonymous template"; group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); break;
MismatchedTokenException e = new MismatchedTokenException('}', input); String msg = "missing final '}' in {...} anonymous template"; group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); break;
MismatchedTokenException e = new MismatchedTokenException('}', input); String msg = "missing final '}' in {...} anonymous template"; group.errMgr.groupLexerError(ErrorType.SYNTAX_ERROR, getSourceName(), e, msg); break;