(accessor: string)
| 563 | } |
| 564 | |
| 565 | write(accessor: string): string { |
| 566 | if (this.isAny()) { |
| 567 | return ` |
| 568 | new (${this.builder.getExternal(CollectionAnySerializer.name)})(${this.builder.getWriteContextName()}, ${this.builder.getReadContextName()}).write(${accessor}, ${accessor}.${this.sizeProp()}) |
| 569 | `; |
| 570 | } |
| 571 | return this.writeSpecificType(accessor); |
| 572 | } |
| 573 | |
| 574 | read(accessor: (expr: string) => string, refState: string): string { |
| 575 | if (this.isAny()) { |
nothing calls this directly
no test coverage detected