id = $id; $this->start = $start; $this->length = $length; $this->input = $input; } /** * Get the raw bytes of the token from the input. * * @return string The token bytes. */ public function get_bytes(): string { return substr( $this->input, $this->start, $this->length ); } /** * Get the real unquoted value of the token. * * @return string The token value. */ public function get_value(): string { return $this->get_bytes(); } }