|
| ||||||||||||||||
The node will thus have two children. It owns both of them.
| NodeBin (BinOper* op, Node* left, Node* right, unsigned line)
| NodeBin |
Caller must not delete / modify pointers.
Parameters:
| op | binary operation of node. |
| left | first argument of operation. |
| right | second argument of operation. |
| line | line where node was created. |
| ~NodeBin ()
| ~NodeBin |
| DEFINE_VISITABLE ()
| DEFINE_VISITABLE |
| const BinOper& op ()
| op |
[const]
Returns: operation associated with node.
| Node& left ()
| left |
[const]
Returns: first argument of operation.
| Node& right ()
| right |
[const]
Returns: second argument of operation.