#include "Tokens.h"
class BinNode {
  friend void inserthelp(BinNode* &bst, Token &t) ;
  friend void searchhelp(BinNode* bst, string  s, Token &t) ;
  private:
    static BinNode * bst; // The global tree
    BinNode *left, *right;
    Token info;
  public:
    virtual bool isLeaf ();
    BinNode (Token &t, BinNode *l, BinNode *r); 
    Token &val(); 
    BinNode * leftChild ();
    BinNode * rightChild () ;
};


