Sets the parser associated with this token parser.
public function setParser(Parser $parser) : void;