class NodeBin

A node for a binary operation. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

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:

opbinary operation of node.
leftfirst argument of operation.
rightsecond argument of operation.
lineline 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.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:59 2008, using kdoc 2.0a54+XORP.