Skip to content

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

PropertyTypeDescriptionDefined in
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:81
namestringThe func's identifier as declared in the Rune model.packages/codegen/src/types.ts:70
relativePathstringThe relative output path of the module file containing this func (same as the enclosing GeneratorOutput.relativePath).packages/codegen/src/types.ts:75
sourceMapSourceMapEntry[]Source-map entries scoped to this function's output lines. A subset of the enclosing GeneratorOutput.sourceMap.packages/codegen/src/types.ts:86

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