`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')
| 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(); |
nothing calls this directly
no outgoing calls
no test coverage detected