rune-langium / core/src
core/src
Core
| Name | Description |
|---|---|
| RuneDslParser | Custom Langium parser for the Rune DSL that pre-processes input text to insert implicit [ and ] brackets around bare expressions after extract, filter, and reduce operators. |
| ParseResult | Result of parsing a Rosetta DSL source string. |
| RuneDslServices | Union type for all services available in the Rune DSL language. |
| RuneDslModule | Dependency-injection module for the Rune DSL language. |
| createRuneDslParser | Factory function that creates and fully initializes a RuneDslParser. |
| createRuneDslServices | Create the full set of services required for the Rune DSL language. |
| insertImplicitBrackets | Scans Rune DSL source text and inserts [ and ] around bare expressions that follow extract, filter, or reduce operators. |
| parse | Parse a Rosetta DSL source string into a typed AST. |
| parseWorkspace | Parse multiple Rosetta DSL source strings as a workspace. Cross-references between documents will be resolved after all documents are built. |
| serializeElement | Serialize a single AST element (Data, Choice, or RosettaEnumeration) to text. |
| serializeModel | Serialize a single RosettaModel AST node back to .rosetta source text. |
| serializeModels | Serialize multiple RosettaModel nodes, returning a Map of namespace → source text. |