(ctx, options)
| 14 | } |
| 15 | |
| 16 | function writeContext(ctx, options) { |
| 17 | let code = ''; |
| 18 | if (ctx._proto.fields) code += writeMessage(ctx, options); |
| 19 | if (ctx._proto.values) code += writeEnum(ctx, options); |
| 20 | |
| 21 | for (const child of ctx._children) code += writeContext(child, options); |
| 22 | return code; |
| 23 | } |
| 24 | |
| 25 | function writeMessage(ctx, options) { |
| 26 | const fields = ctx._proto.fields; |
no test coverage detected
searching dependent graphs…