* 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)
| 1748 | * @returns Code string or null if not found |
| 1749 | */ |
| 1750 | async getCode(nodeId: string): Promise<string | null> { |
| 1751 | return this.contextBuilder.getCode(nodeId); |
| 1752 | } |
| 1753 | |
| 1754 | /** |
| 1755 | * Find relevant subgraph for a query |
no outgoing calls
no test coverage detected