Skip to content

rune-langium / codegen/src

codegen/src

Classes

ClassDescription
GeneratorErrorThrown when strict mode is enabled and any error diagnostic is produced. FR-022.

Interfaces

InterfaceDescription
GeneratedFuncMetadata for a single emitted Rune func (TypeScript target only). FR-028–FR-032 (function declarations, US6).
GeneratorDiagnosticA generator-time diagnostic (not a Langium validation diagnostic). FR-025 (diagnostics).
GeneratorOptionsOptions for a generation run. FR-001 (target selection), FR-022 (strict mode).
GeneratorOutputOne emitted output file from the generator. FR-001 (output structure).
SourceMapEntryOne source-map entry: maps an output line back to a source location. FR-024 (source maps).

Type Aliases

Type AliasDescription
TargetThe three supported generator targets. FR-019 (json-schema), FR-020 (typescript), FR-002–FR-014 (zod).

Functions

FunctionDescription
generateGenerate code from one or more parsed Langium documents.

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