class AUTOMATON [E_]
Summary
Class invariant
Overview
Creation features
Features
Simple one-shot execution
Step-by-step execution
run (start_state: ABSTRACT_STRING, e: E_)
effective procedure
has (state_name: ABSTRACT_STRING): BOOLEAN
effective function
start (start_state: ABSTRACT_STRING, e: E_): AUTOMATON_CONTEXT[E_]
effective function
next (context: AUTOMATON_CONTEXT[E_])
effective procedure
next_transition (from_state: STATE[E_], state_name: ABSTRACT_STRING, e: E_): STATE[E_]
effective function
last_transition (from_state: STATE[E_], e: E_)
effective procedure
call_before_guards (e: E_, state: STATE[E_])
effective procedure
call_after_guards (e: E_, state: STATE[E_])
effective procedure
set_before_guards (p: PROCEDURE[TUPLE[TUPLE 2[E_, STATE[E_]]]])
effective procedure
set_after_guards (p: PROCEDURE[TUPLE[TUPLE 2[E_, STATE[E_]]]])
effective procedure
set_transition (p: PROCEDURE[TUPLE[TUPLE 3[E_, STATE[E_], STATE[E_]]]])
effective procedure
states: DICTIONARY[STATE[E_], FIXED_STRING]
writable attribute
A dictionary of all the states
before_guards: PROCEDURE[TUPLE[TUPLE 2[E_, STATE[E_]]]]
writable attribute
That agent is called before checking guards.
after_guards: PROCEDURE[TUPLE[TUPLE 2[E_, STATE[E_]]]]
writable attribute
That agent is called after checking guards, whether a guard was raised or not.
transition: PROCEDURE[TUPLE[TUPLE 3[E_, STATE[E_], STATE[E_]]]]
writable attribute
That agent is called when the next state was found.
default_before_guards
effective procedure
default_after_guards
effective procedure
default_transition
effective procedure
manifest_make (needed_capacity: INTEGER_32)
effective procedure
manifest_put (index: INTEGER_32, state_name: ABSTRACT_STRING, state: STATE[E_])
effective procedure
manifest_semicolon_check: INTEGER_32
is 2
constant attribute