separate HTMLToken class from HTMLParser.