MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / DeleteLogicExpSubTree

Function DeleteLogicExpSubTree

src/Chain/libraries/glua/glua_decompile.cpp:444–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444void DeleteLogicExpSubTree(LogicExp* exp) {
445 if (exp) {
446 DeleteLogicExpSubTree(exp->subexp);
447 DeleteLogicExpSubTree(exp->next);
448 exp->op1.clear();
449 exp->op2.clear();
450 delete exp;
451 }
452}
453
454void DeleteLogicExpTree(LogicExp* exp) {
455 if (exp) {

Callers 2

DeleteLogicExpTreeFunction · 0.85
MakeBooleanFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected