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

Method lexerError

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

Source from the content-addressed store, hash-verified

92 }
93
94 public void lexerError(String srcName, String msg, Token templateToken, RecognitionException e) {
95 if ( srcName!=null ) srcName = Misc.getFileName(srcName);
96 listener.compileTimeError(new STLexerMessage(srcName, msg, templateToken, e));
97 }
98
99 public void compileTimeError(ErrorType error, Token templateToken, Token t, Object arg) {
100 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