MCPcopy Create free account
hub / github.com/chibash/stone / toString

Method toString

src/stone/ast/ClassStmnt.java:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 }
13 public ClassBody body() { return (ClassBody)child(numChildren() - 1); }
14 public String toString() {
15 String parent = superClass();
16 if (parent == null)
17 parent = "*";
18 return "(class " + name() + " " + parent + " " + body() + ")";
19 }
20}

Callers

nothing calls this directly

Calls 3

superClassMethod · 0.95
nameMethod · 0.95
bodyMethod · 0.95

Tested by

no test coverage detected