public function expect($string) { return $string === substr($this->script, $this->position, strlen($string)); }