rune-langium / codegen/src/export / GeneratedFunc
Interface: GeneratedFunc
Defined in: packages/codegen/src/types.ts:182
Metadata for a single emitted Rune func (TypeScript target only). FR-028–FR-032 (function declarations, US6).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
exportName? | string | Actual module export when the Rune name collides with a type declaration. | packages/codegen/src/types.ts:188 |
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:201 |
inputCheckExportName? | string | Generated precondition-only export, when inputChecks is enabled. | packages/codegen/src/types.ts:186 |
name | string | The func's identifier as declared in the Rune model. | packages/codegen/src/types.ts:190 |
parameterNames | string[] | Rune input names in positional API order; used by named form adapters. | packages/codegen/src/types.ts:184 |
relativePath | string | The relative output path of the module file containing this func (same as the enclosing GeneratorOutput.relativePath). | packages/codegen/src/types.ts:195 |
sourceMap | SourceMapEntry[] | Source-map entries scoped to this function's output lines. A subset of the enclosing GeneratorOutput.sourceMap. | packages/codegen/src/types.ts:206 |