SC.Parser.SCXML.StateStack (sc v1.0.2)
View SourceManages the parsing state stack for hierarchical SCXML document construction.
This module handles adding and removing elements from the parsing stack, and updating parent elements when child elements are completed.
Summary
Functions
Handle the end of an assign element by adding it to the parent onentry/onexit block.
Handle the end of a data element by adding it to the document's datamodel.
Handle the end of a datamodel element by simply popping it from the stack.
Handle the end of a log element by adding it to the parent onentry/onexit block.
Handle the end of an onentry element by moving collected actions to parent state.
Handle the end of an onexit element by moving collected actions to parent state.
Handle the end of a raise element by adding it to the parent onentry/onexit block.
Handle the end of a state element by adding it to its parent.
Handle the end of a transition element by adding it to its parent state.
Pop an element from the parsing stack.
Push an element onto the parsing stack.
Functions
Handle the end of an assign element by adding it to the parent onentry/onexit block.
Handle the end of a data element by adding it to the document's datamodel.
Handle the end of a datamodel element by simply popping it from the stack.
Handle the end of a log element by adding it to the parent onentry/onexit block.
Handle the end of an onentry element by moving collected actions to parent state.
Handle the end of an onexit element by moving collected actions to parent state.
Handle the end of a raise element by adding it to the parent onentry/onexit block.
Handle the end of a state element by adding it to its parent.
Handle the end of a transition element by adding it to its parent state.
Pop an element from the parsing stack.
Push an element onto the parsing stack.