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

Method constructor

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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected