(text, az)
| 325 | } |
| 326 | |
| 327 | getLength(text, az) { |
| 328 | if (az === "symbols") { |
| 329 | return [this.countSymbols(text)]; |
| 330 | } else if (az === "code-points") { |
| 331 | return [text.length]; |
| 332 | } |
| 333 | return undefined; |
| 334 | } |
| 335 | |
| 336 | resolveProposal(proposal, prefix) { |
| 337 | let {args} = this.resolve(prefix); |