MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getLanguageFromNodeId

Method getLanguageFromNodeId

src/resolution/index.ts:4087–4090  ·  view source on GitHub ↗

* Get language from node ID

(nodeId: string)

Source from the content-addressed store, hash-verified

4085 * Get language from node ID
4086 */
4087 private getLanguageFromNodeId(nodeId: string): UnresolvedRef['language'] {
4088 const node = this.nodeById(nodeId);
4089 return node?.language || 'unknown';
4090 }
4091
4092 /**
4093 * Collect the `@using` namespaces in scope for a `.razor`/`.cshtml` file: its

Callers 5

resolveAllMethod · 0.95
resolveBatchYieldingMethod · 0.95
couldNameAnyOfMethod · 0.95
gateFrameworkLanguageMethod · 0.95

Calls 1

nodeByIdMethod · 0.95

Tested by

no test coverage detected