Represents the context as passed to each state class. More...
Public Member Functions | |
char | GetNextCharacter () |
Get the next character from the input. | |
void | OutputCharacter (char character) |
Write the character to the context. This is how the parser accumulates the filtered text. | |
Represents the context as passed to each state class.
Each state class can access the next character or output the current character through this interface.
Definition at line 65 of file State_Class.cs.
char GetNextCharacter | ( | ) |
Get the next character from the input.
Implemented in StateContext_Class.
Referenced by State_NormalText.GoNext(), State_DoubleQuotedText.GoNext(), State_SingleQuotedText.GoNext(), State_EscapedDoubleQuoteText.GoNext(), State_EscapedSingleQuoteText.GoNext(), State_StartComment.GoNext(), State_LineComment.GoNext(), State_BlockComment.GoNext(), and State_EndBlockComment.GoNext().
void OutputCharacter | ( | char | character | ) |
Write the character to the context. This is how the parser accumulates the filtered text.
character | The character to accumulate |
Implemented in StateContext_Class.
Referenced by State_NormalText.GoNext(), State_DoubleQuotedText.GoNext(), State_SingleQuotedText.GoNext(), State_EscapedDoubleQuoteText.GoNext(), State_EscapedSingleQuoteText.GoNext(), State_StartComment.GoNext(), and State_LineComment.GoNext().