step(self,
dfa_stack,
ctd_instance,
value,
element_use)
| source code
|
Execute a step within the model group.
If an automaton stack is currently being executed, the step defers to
that automaton. If a step is succesfully taken, the invocation returns;
otherwise, the automaton stack is discarded.
If no automaton stack is active, a step is attempted on each automaton
remaining in the alternatives. If the step is successful, that automaton
is recorded as being the current one for execution, and the invocation
returns.
If no automaton can be found within which progress can be made, the
step fails.
- Parameters:
dfa_stack (DFAStack) - The current state of the parse. Upon return, this may have been
augmented with suspended content models.
value (xml.dom.Node or basis._TypeBinding_mixin or other
value) - A value upon which transition should occur.
- Returns:
True iff a transition was found that consumed the
value.
|