* Get the source code for a node * * Reads the file and extracts the code between startLine and endLine. * * @param nodeId - ID of the node * @returns Code string or null if not found
(nodeId: string)
| 1167 | * @returns Code string or null if not found |
| 1168 | */ |
| 1169 | async getCode(nodeId: string): Promise<string | null> { |
| 1170 | return this.contextBuilder.getCode(nodeId); |
| 1171 | } |
| 1172 | |
| 1173 | /** |
| 1174 | * Find relevant subgraph for a query |
no outgoing calls
no test coverage detected