MCPcopy Create free account
hub / github.com/Genivia/ugrep / clear

Method clear

include/reflex/pattern.h:713–718  ·  view source on GitHub ↗

delete the tree and all subnodes.

Source from the content-addressed store, hash-verified

711 }
712 /// delete the tree and all subnodes.
713 void clear()
714 {
715 if (tree != NULL)
716 delete tree;
717 tree = NULL;
718 }
719 /// return the root of the tree.
720 Node *root()
721 {

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected