//  File: tokenitem.h
//
//  tokens for use with expression trees.

#ifndef _tokenitem_h
#define _tokenitem_h

#include "token.h"

typedef token_t *data ;

class Item {
public:
   data item ;          	// what we store

   Item() ;             	// default constructor
   Item(data) ;         	// alternate constructor
   ~Item() ;            	// destructor
   data copy() ;        	// make a copy
   int compare(data) ;  	// <0 is smaller, =0 is equal, >0 is bigger
   void print() ;       	// print to stdout
} ;

#endif
