Represents being in a line comment. More...
Private Member Functions | |
CurrentState IStateBehavior. | GoNext (IStateContext context) |
Process the next character from the context, returning the next state the context should move to. | |
Additional Inherited Members | |
CurrentState | GoNext (IStateContext context) |
Represents being in a line comment.
Transitions to the following states for the seen input:
- go to CurrentState.NormalText (a newline is the end of a line comment) EOF - go to CurrentState.Done (no more input)
Definition at line 441 of file State_Class.cs.
|
inlineprivate |
Process the next character from the context, returning the next state the context should move to.
context | An IStateContext object representing the context to use for getting the next character of input and to which to output characters. |
Implements IStateBehavior.
Definition at line 452 of file State_Class.cs.
References State_Constants.EOF, IStateContext.GetNextCharacter(), and IStateContext.OutputCharacter().