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