Represents a transition in the content model DFA.
If the next object in the DOM model conforms to the specified term, it
is consumed and the specified next state is entered.
|
term(self)
The matching term for this transition to succeed. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
__init__(self,
next_state,
element_use=None,
term=None)
Create a transition to a new state upon receipt of a term, storing
the successful match using the provided ElementUse. |
source code
|
|
|
__cmp__(self,
other)
Sort transitions so elements precede model groups precede wildcards. |
source code
|
|
|
__processElementTransition(self,
value,
element_use) |
source code
|
|
|
__validateConsume(self,
key,
available_symbols_im,
output_sequence_im,
candidates) |
source code
|
|
|
validate(self,
available_symbols_im,
output_sequence_im,
candidates)
Determine whether it is possible to take this transition using the
available symbols. |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|