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

Method constructor

src/extraction/cfml-extractor.ts:84–88  ·  view source on GitHub ↗

`language` is the file's detected language — `'cfml'` for `.cfc`/`.cfm`, `'cfscript'` for `.cfs`. Both dialect-switch internally; this only controls the language tag stamped onto emitted nodes/refs.

(filePath: string, source: string, language: Language = 'cfml')

Source from the content-addressed store, hash-verified

82
83 /** `language` is the file's detected language — `'cfml'` for `.cfc`/`.cfm`, `'cfscript'` for `.cfs`. Both dialect-switch internally; this only controls the language tag stamped onto emitted nodes/refs. */
84 constructor(filePath: string, source: string, language: Language = 'cfml') {
85 this.filePath = filePath;
86 this.source = source;
87 this.language = language;
88 }
89
90 extract(): ExtractionResult {
91 const startTime = Date.now();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected