()
| 5 | public ClassStmnt(List<ASTree> c) { super(c); } |
| 6 | public String name() { return ((ASTLeaf)child(0)).token().getText(); } |
| 7 | public String superClass() { |
| 8 | if (numChildren() < 3) |
| 9 | return null; |
| 10 | else |
| 11 | return ((ASTLeaf)child(1)).token().getText(); |
| 12 | } |
| 13 | public ClassBody body() { return (ClassBody)child(numChildren() - 1); } |
| 14 | public String toString() { |
| 15 | String parent = superClass(); |
no test coverage detected