( node: SyntaxNode, code: string, maxChunkSize: number, )
| 108 | ]; |
| 109 | |
| 110 | async function constructClassDefinitionChunk( |
| 111 | node: SyntaxNode, |
| 112 | code: string, |
| 113 | maxChunkSize: number, |
| 114 | ): Promise<string> { |
| 115 | return collapseChildren( |
| 116 | node, |
| 117 | code, |
| 118 | ["block", "class_body", "declaration_list"], |
| 119 | FUNCTION_DECLARATION_NODE_TYPEs, |
| 120 | FUNCTION_BLOCK_NODE_TYPES, |
| 121 | maxChunkSize, |
| 122 | ); |
| 123 | } |
| 124 | |
| 125 | async function constructFunctionDefinitionChunk( |
| 126 | node: SyntaxNode, |
nothing calls this directly
no test coverage detected