178
179
reset(key: URI): this {
181
>
this._states = [];
182
>
if (this._value.scheme) {
183
>
this._states.push(UriIteratorState.Scheme);
184
>
}
185
>
if (this._value.authority) {
186
this._states.push(UriIteratorState.Authority);
187
}
189
>
this._pathIterator = new PathIterator(false, !this._ignorePathCasing(key));
190
>
this._pathIterator.reset(key.path);
191
>
if (this._pathIterator.value()) {
192
>
this._states.push(UriIteratorState.Path);
193
>
}
194
>
}
195
>
if (!this._ignoreQueryAndFragment(key)) {
196
if (this._value.query) {
197
this._states.push(UriIteratorState.Query);