StateMachine.opDispatch

Undocumented in source. Be warned that the author may not have intended to support it.
  1. string[] opDispatch [@property getter]
  2. typeof(variable)[string] opDispatch [@property getter]
  3. bool opDispatch [@property getter]
    mixintemplate StateMachine(alias variable, states...)
    @property
    bool
    opDispatch
    (
    string state
    )
    ()
    if (
    [__states__].countUntil(state) != -1
    )
    if (
    (
    (
    is(typeof(variable) : int) ||
    is(typeof(variable) : string)
    )
    &&
    states.length > 0
    )
    ||
    (
    is(typeof(variable) == enum) &&
    states.length == 0
    )
    )
  4. typeof(variable) opDispatch()
  5. void opDispatch()
  6. bool opDispatch()

Meta