public function __construct(Tokenizer $input) { parent::__construct($input); $this->grammar = new Grammar($this); }