public function __construct(TokenReader $parser) { $this->parser = $parser; $this->checker = new TokenChecker($parser); }