MCPcopy Create free account
hub / github.com/antlr/codebuff / toString

Method toString

output/java/1.4.19/JTreeSTModel.java:59–73  ·  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 =
65 st.toString()+" @ "+st.debugState.newSTEvent.getFileName()+":" +
66 st.debugState.newSTEvent.getLine();
67 return "<html><b>" +
68 StringRenderer.escapeHTML(label)+"</b></html>";
69 }
70 else {
71 return st.toString();
72 }
73 }
74 }
75
76

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