载入中...
搜索中...
未找到
StepKindRegistry.h
浏览该文件的文档.
Move-only, checked operation results for the common layer.
Domain-neutral compiled sequence graph for `.dnut` sources.
Owning, renderer-independent dynamic values.
Canonical step vocabulary owner and runtime handler router.
Definition StepKindRegistry.h:108
Definition ConversationDialect.cpp:13
@ String
std::function< StepOutcome(const SequenceNode &, const StepContext &)> StepHandler
Consumer-owned handler for one registered step type.
Definition StepKindRegistry.h:96
StepShape
Declares whether a step completes inside its call or suspends the runtime.
Definition StepKindRegistry.h:20
@ Instant
The step completes synchronously; Completed continues at next.
@ Completed
@ Blocked
@ Failed
const char * stepShapeName(StepShape shape) noexcept
Return the stable lowercase spelling of a step shape.
Definition StepKindRegistry.cpp:44
@ Number
Unsigned numeric literal; sign handling belongs to the parser.
Borrowed execution context handed to one step handler.
Definition StepKindRegistry.h:79
Owning authoring/runtime contract for one step type.
Definition StepKindRegistry.h:45
std::vector< StepField > fields
Definition StepKindRegistry.h:50
std::function< eve::Result< void >(const SequenceNode &node)> validate
Optional domain invariant applied after the field schema passes.
Definition StepKindRegistry.h:59