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

Method toString

output/java8/1.4.17/STRuntimeMessage.java:91–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 }
90
91 @Override
92 public String toString() {
93 StringBuilder buf = new StringBuilder();
94 String loc = null;
95 if ( self!=null ) {
96 loc = getSourceLocation();
97 buf.append("context [");
98 if ( interp!=null ) {
99 buf.append(Interpreter.getEnclosingInstanceStackString(scope));
100 }
101 buf.append("]");
102 }
103 if ( loc!=null ) buf.append(" "+loc);
104 buf.append(" "+super.toString());
105 return buf.toString();
106 }
107}

Callers

nothing calls this directly

Calls 4

getSourceLocationMethod · 0.95
toStringMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected