rune-langium / codegen/src / GeneratedFunc
Interface: GeneratedFunc
Defined in: packages/codegen/src/types.ts:68
Metadata for a single emitted Rune func (TypeScript target only). FR-028–FR-032 (function declarations, US6).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
fileContents | string | The full text of just the emitted function declaration (subset of GeneratorOutput.content). Useful for unit-testing the emitter in isolation without parsing the full file. | packages/codegen/src/types.ts:81 |
name | string | The func's identifier as declared in the Rune model. | packages/codegen/src/types.ts:70 |
relativePath | string | The relative output path of the module file containing this func (same as the enclosing GeneratorOutput.relativePath). | packages/codegen/src/types.ts:75 |
sourceMap | SourceMapEntry[] | Source-map entries scoped to this function's output lines. A subset of the enclosing GeneratorOutput.sourceMap. | packages/codegen/src/types.ts:86 |