Package-level declarations

Types

Link copied to clipboard
@Serializable
data class FieldError(val path: String, val message: String, val severity: ValidationSeverity, val code: String)

A field-addressable validation issue.

Link copied to clipboard
object PathParser

Pure utility for tokenizing the dotted/bracketed strings carried by FieldError.path. Lives in KSLCore so non-Swing consumers (test harnesses, CLI tools, log surfaces) can use it without dragging in a GUI dependency.

Link copied to clipboard
sealed class PathSegment

One segment of a tokenized FieldError.path. Paths look like scenarios[3].runOverrides.lengthOfReplication; tokenization produces an alternating-but-not-strictly sequence of Name (field reference) and Index (list index) segments.

Link copied to clipboard

Pre-run validator for RunConfiguration.

Link copied to clipboard
class ValidationFeedbackBus(initial: ValidationResult = ValidationResult())

Holds the editor's latest ValidationResult and fans it out to widget subscribers. One bus per open document — the GUI's editor view-model constructs a bus, calls publish every time it produces a new result, and hands the bus to widgets that decorate themselves from it.

Link copied to clipboard
@Serializable
data class ValidationResult(val errors: List<FieldError> = emptyList(), val warnings: List<FieldError> = emptyList())

Aggregated pre-run validation result.

Link copied to clipboard

Severity of a FieldError found during pre-run validation.