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: pavlin on possum.icir.org on Wed Apr 13 21:53:13 2005, using kdoc $.