()
| 710 | } |
| 711 | |
| 712 | parseQueryParams(): Params { |
| 713 | const params: Params = {}; |
| 714 | if (this.consumeOptional('?')) { |
| 715 | do { |
| 716 | this.parseQueryParam(params); |
| 717 | } while (this.consumeOptional('&')); |
| 718 | } |
| 719 | return params; |
| 720 | } |
| 721 | |
| 722 | parseFragment(): string | null { |
| 723 | return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null; |
no test coverage detected