Update parserClasses.h

defined the member functions of class token