Skip to content

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 ​

PropertyTypeDescriptionDefined in
exportName?stringActual module export when the Rune name collides with a type declaration.packages/codegen/src/types.ts:188
fileContentsstringThe 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?stringGenerated precondition-only export, when inputChecks is enabled.packages/codegen/src/types.ts:186
namestringThe func's identifier as declared in the Rune model.packages/codegen/src/types.ts:190
parameterNamesstring[]Rune input names in positional API order; used by named form adapters.packages/codegen/src/types.ts:184
relativePathstringThe relative output path of the module file containing this func (same as the enclosing GeneratorOutput.relativePath).packages/codegen/src/types.ts:195
sourceMapSourceMapEntry[]Source-map entries scoped to this function's output lines. A subset of the enclosing GeneratorOutput.sourceMap.packages/codegen/src/types.ts:206

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.