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

Method constructor

src/extraction/cfml-extractor.ts:85–89  ·  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

83
84 /** `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. */
85 constructor(filePath: string, source: string, language: Language = 'cfml') {
86 this.filePath = filePath;
87 this.source = source;
88 this.language = language;
89 }
90
91 extract(): ExtractionResult {
92 const startTime = Date.now();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected