Struct ketree::treebuilder::TreeBuilder []

pub struct TreeBuilder { /* fields omitted */ }

Contains the code to be executed as a prologue, body, and epilogue.

Methods

impl TreeBuilder
[src]

Creates a new TreeBuilder with provided 'body' code.

Creates a new TreeBuilder from a file.

Sets the prologue to be executed.

Sets the epilogue to be executed.

Consumes a Box containing a ketos::ModuleLoader and takes a name to look for that the tree is assigned to (using define in the body of Ketos code).

Returns a tuple containing the Tree and a HashSet of variable names.

Consumes a Box containing a ketos::ModuleLoader, consumes a HashSet (to allow for the selection of the hashing algorithm), and takes a name to look for that the tree is assigned to (using define in the body of Ketos code).

Returns a tuple containing the Tree and the consumed HashSet filled with variable names.