Struct ketree::treebuilder::TreeBuilder [] [src]

pub struct TreeBuilder<'a> { /* fields omitted */ }

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

Methods

impl<'a> TreeBuilder<'a>
[src]

[src]

Creates a new TreeBuilder with provided 'body' code.

[src]

Sets the body of code to be executed.

[src]

Sets the prologue to be executed.

[src]

Sets the epilogue to be executed.

[src]

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.

[src]

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.