Implementation of the StateContext_ClassImpl private class along with the numerous StateXXX classes as used in the State Pattern. More...
Go to the source code of this file.
Classes | |
class | State_NormalText |
Represents normal text behavior. More... | |
class | State_DoubleQuotedText |
Represents being inside a double-quote string where filtering is essentially turned off until the end of the string is reached. More... | |
class | State_SingleQuotedText |
Represents being inside a single-quoted string where filtering is effectively turned off until the end of the string is reached. More... | |
class | State_EscapedDoubleQuoteText |
Represents being in an escaped character sequence inside a double- quoted string. More... | |
class | State_EscapedSingleQuoteText |
Represents being in an escaped character sequence inside a single- quoted string. More... | |
class | State_StartComment |
Represents the possible start of a line or block comment. More... | |
class | State_LineComment |
Represents being in a line comment. More... | |
class | State_BlockComment |
Represents being in a block comment. More... | |
class | State_EndBlockComment |
Represents possibly being at the end of a block comment. More... | |
class | State_Done |
Represents being done with input. More... | |
class | State_Factory |
Class factory for generating the state class instances. More... | |
class | StateContext_ClassImpl |
Implementation of the state machine. More... | |
Namespaces | |
namespace | DesignPatternExamples_python |
The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace. | |
namespace | DesignPatternExamples_python.state |
namespace | DesignPatternExamples_python.state._state_class_private |
Functions | |
str | _CurrentStateToString (CurrentState state) |
Convert the CurrentState enumeration to a string for output purposes. | |
Implementation of the StateContext_ClassImpl private class along with the numerous StateXXX classes as used in the State Pattern.
Definition in file _state_class_private.py.