zuke_frontend library
Supported application-facing specification parsing API.
Classes
- ConfigWarning
- A non-fatal configuration observation for an unrecognized key.
- ExecutionProfile
- A named execution profile's scenario selection and extension fields.
- GherkinElement
- A parsed feature, rule, or scenario element.
- GherkinExamples
- An Examples table attached to a scenario outline.
- GherkinParser
- Parses Zuke's metadata-aware Gherkin dialect.
- GherkinParseResult
- Result of parsing one feature document.
- GherkinScenario
- A parsed executable Gherkin scenario.
- GherkinStep
- One executable step in a Gherkin scenario.
- GherkinTag
- A tag attached to a Gherkin element.
- MetadataBlock
- A raw metadata block and its source location.
- MetadataExtractorResult
- Metadata collected from a workspace's specification files.
- ParsedBinding
- Metadata describing a generated UI binding.
- ParsedControlRef
- A control reference required by a specification.
- ParsedEndpoint
- Metadata describing a logical endpoint.
- ParsedFeature
- A complete parsed Gherkin feature.
- ParsedMetadata
-
Metadata extracted from a
# spec-beginblock. - ParsedPerformance
- A performance threshold declared by a specification.
- ParsedRule
- A parsed Gherkin rule and its scenarios.
- ParseError
- A parser error with its source location.
- SourceLocation
- Source coordinates for a parsed element.
- WorkspaceCoverageConfig
- Typed coverage configuration. Numeric thresholds keep their historical fallbacks (100) at the command layer; this model only validates shape.
- WorkspaceDartToolingConfig
- Typed Dart tooling configuration. Shape validation for nested sections stays in discovery; this model retains the validated maps plus unknown fields for forward compatibility.
- WorkspaceDiscovery
- Discovers and parses a Zuke workspace from disk.
- WorkspaceDiscoveryResult
- Parsed workspace data and the inputs used to produce it.
- WorkspaceEvidenceConfig
- Typed evidence configuration.
- WorkspaceLockConfig
-
Typed lock configuration. No default profiles are introduced here:
when a
lock:section is present,profilesmust be explicit and non-empty (enforced in discovery validation). The four-profile[pullRequest, merge, release, nightly]default lives only in onboarding presets (init_preset.dart), never in parsing. - WorkspacePackage
- WorkspaceRunner
- WorkspaceTarget
- ZukeConfig
-
Workspace configuration loaded from
zuke.yaml.
Enums
- GherkinKeyword
- Gherkin element kinds recognized by the parser.
Functions
-
canonicalBindingCardinality(
String cardinality) → String - Canonicalizes accepted binding-cardinality spellings.
-
canonicalBindingInstanceCardinality(
String cardinality) → String - Canonicalizes accepted runtime-widget cardinality spellings.
Exceptions / Errors
- InvalidWorkspaceConfigError
- Raised when a current-looking workspace configuration is malformed.
- LegacyWorkspaceConfigError
- Raised when a workspace uses a configuration schema from an older Zuke release. The CLI maps this to its migration diagnostic.
- WorkspaceConfigError
- Base error raised when a workspace configuration cannot be used by the current frontend parser.