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

Method rfree

chapter24/src/main/java/com/seaofnodes/simple/type/Type.java:409–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407
408 // Recursively free type and children
409 final void rfree() {
410 if( isFree() ) return;
411 int nkids = nkids();
412 for( int i=0; i<nkids; i++ )
413 if( !at(i)._terned )
414 at(i).rfree();
415 free(this);
416 }
417
418 Type free(Type free) { return this; }
419 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