MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / rfree

Method rfree

chapter23/src/main/java/com/seaofnodes/simple/type/Type.java:405–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403
404 // Recursively free type and children
405 final void rfree() {
406 if( isFree() ) return;
407 int nkids = nkids();
408 for( int i=0; i<nkids; i++ )
409 if( !at(i)._terned )
410 at(i).rfree();
411 free(this);
412 }
413
414 Type free(Type free) { return this; }
415 boolean isFree() { return false; }

Callers 1

recurCloseMethod · 0.45

Calls 4

isFreeMethod · 0.95
nkidsMethod · 0.95
atMethod · 0.95
freeMethod · 0.95

Tested by

no test coverage detected