private TokenId ParseNull(CharacterReader reader) { if (reader.Peek() != 'u') { throw new InvalidOperationException(); } reader.Read(); if (reader.Peek() != 'l') { throw new InvalidOperationException(); } reader.Read(); if (reader.Peek() != 'l') { throw new InvalidOperationException(); } reader.Read(); return(TokenId.Null); }
public TokenReader(CharacterReader reader) { _reader = reader; Next(); }