@internal
(s: string, options: ParseOptions)
| 1601 | } |
| 1602 | /** @internal */ |
| 1603 | matchPart(s: string, options: ParseOptions): bigint | undefined { |
| 1604 | if (!isStringBigIntRegExp.test(s)) return undefined |
| 1605 | const value = globalThis.BigInt(s) |
| 1606 | if (options.disableChecks || !this.checks) return value |
| 1607 | return collectIssues(this.checks, value, undefined, this, options) ? undefined : value |
| 1608 | } |
| 1609 | /** @internal */ |
| 1610 | toCodecStringTree(): AST { |
| 1611 | return replaceEncoding(this, [bigIntToString]) |
nothing calls this directly
no test coverage detected