MCPcopy Index your code
hub / github.com/antlr/codebuff / lexerError

Method lexerError

output/java8/1.4.17/ErrorManager.java:95–98  ·  view source on GitHub ↗
(String srcName, String msg, Token templateToken, RecognitionException e)

Source from the content-addressed store, hash-verified

93 }
94
95 public void lexerError(String srcName, String msg, Token templateToken, RecognitionException e) {
96 if ( srcName!=null ) srcName = Misc.getFileName(srcName);
97 listener.compileTimeError(new STLexerMessage(srcName, msg, templateToken, e));
98 }
99
100 public void compileTimeError(ErrorType error, Token templateToken, Token t, Object arg) {
101 String srcName = t.getInputStream().getSourceName();

Callers 7

matchMethod · 0.45
insideMethod · 0.45
ESCAPEMethod · 0.45
UNICODEMethod · 0.45
mSTRINGMethod · 0.45
COMMENTMethod · 0.45
LINEBREAKMethod · 0.45

Calls 2

getFileNameMethod · 0.95
compileTimeErrorMethod · 0.65

Tested by

no test coverage detected