rune-langium / codegen/src / GeneratedFile
Interface: GeneratedFile
Defined in: packages/codegen/src/types.ts:87
A single generated output file.
Remarks
The path is relative to the configured output directory. Use it as the last argument to path.resolve(outputDir, file.path) when writing to disk.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
content | string | Generated source code content. | packages/codegen/src/types.ts:91 |
path | string | Output file path relative to the output directory (e.g., "com/rosetta/model/MyType.java"). | packages/codegen/src/types.ts:89 |