| PushdownAutomatonTPushStateAutoTState Method |
Pushes a state to the top of the stack and pauses the underlying state.
If the state is not registered, it will automatically be and its empty constructor will be used to create the instances.
Namespace:
Archon.SwissArmyLib.Automata
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public TState PushStateAuto<TState>()
where TState : new(), Object, IPdaState<T>
Request Example
View SourceType Parameters
- TState
- The type of the state to change to.
Return Value
Type:
TStateThe new state.
See Also