(input)
| 29634 | }; |
| 29635 | } |
| 29636 | _parseSync(input) { |
| 29637 | const result = this._parse(input); |
| 29638 | if ((0, parseUtil_1.isAsync)(result)) { |
| 29639 | throw new Error("Synchronous parse encountered promise."); |
| 29640 | } |
| 29641 | return result; |
| 29642 | } |
| 29643 | _parseAsync(input) { |
| 29644 | const result = this._parse(input); |
| 29645 | return Promise.resolve(result); |