state-machine ~master (2022-03-22T06:56:00.8510032)
Dub
Repo
StateMachine.opDispatch
state_machine
base
StateMachine
Undocumented in source. Be warned that the author may not have intended to support it.
string
[]
opDispatch
[@property getter]
typeof
(
variable
)[
string
]
opDispatch
[@property getter]
bool
opDispatch
[@property getter]
typeof
(
variable
)
opDispatch
()
void
opDispatch
()
mixintemplate
StateMachine
(alias variable, states...)
void
opDispatch
(
string
op
: "revert" ~
__name__
)
(
)
if
(
(
(
is
(
typeof
(
variable
) :
int
) ||
is
(
typeof
(
variable
) :
string
)
)
&&
states.length
> 0
)
||
(
is
(
typeof
(
variable
) == enum) &&
states.length
== 0
)
)
bool
opDispatch
()
Meta
Source
See Implementation
state_machine
base
StateMachine
properties
opDispatch