GP function, executes 2 subtrees in sequence. More...
#include <Prog2.h>
Public Member Functions | |
void | execute (void *evalOp, Tree::Tree &tree) |
Execute the primitive. |
GP function, executes 2 subtrees in sequence.
Definition at line 6 of file Prog2.h.
void Prog2::execute | ( | void * | result, | |
Tree::Tree & | tree | |||
) | [inline, virtual] |
Execute the primitive.
Function primitives gather arguments and return a value; terminal primitives return current value.
Implements Tree::Primitives::Primitive.