add token class to represent token in symbol table.