zuke_frontend library
Supported application-facing specification parsing API.
Classes
- 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.
- WorkspaceDiscovery
- Discovers and parses a Zuke workspace from disk.
- WorkspaceDiscoveryResult
- Parsed workspace data and the inputs used to produce it.
- 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.