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

Method toString

output/java8/1.4.14/JTreeSTModel.java:59–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 @Override
60 public String toString() {
61 ST st = event.scope.st;
62 if ( st.isAnonSubtemplate() ) return "{...}";
63 if ( st.debugState!=null && st.debugState.newSTEvent!=null ) {
64 String label = st.toString()+" @ "+st.debugState.newSTEvent.getFileName()+":"+st.debugState.newSTEvent.getLine();
65 return "<html><b>"+StringRenderer.escapeHTML(label)+"</b></html>";
66 }
67 else {
68 return st.toString();
69 }
70 }
71 }
72
73

Callers

nothing calls this directly

Calls 5

isAnonSubtemplateMethod · 0.95
toStringMethod · 0.95
escapeHTMLMethod · 0.95
getFileNameMethod · 0.45
getLineMethod · 0.45

Tested by

no test coverage detected