private Token?Quote(ITokenizerStateContext stateContext)
 {
     stateContext.State = StateHolder.Escaped;
     stateContext.AppendCharacter('"');
     return(null);
 }
Example #2
0
 private Token?NormalOrEscapedCharacter(ITokenizerStateContext stateContext, char character)
 {
     stateContext.AppendCharacter(character);
     return(null);
 }
Example #3
0
 protected void AssertCharacterAppendedToToken(char character)
 {
     A.CallTo(() => TokenizerStateContext.AppendCharacter(character)).MustHaveHappened(1, Times.Exactly);
 }