Lines Matching refs:JsonToken
55 private JsonToken bufferedToken;
71 …internal static JsonTokenizer FromReplayedTokens(IList<JsonToken> tokens, JsonTokenizer continuati… in FromReplayedTokens()
84 internal void PushBack(JsonToken token) in PushBack()
91 if (token.Type == JsonToken.TokenType.StartObject) in PushBack()
95 else if (token.Type == JsonToken.TokenType.EndObject) in PushBack()
109 internal JsonToken Next() in Next()
111 JsonToken tokenToReturn; in Next()
121 if (tokenToReturn.Type == JsonToken.TokenType.StartObject) in Next()
125 else if (tokenToReturn.Type == JsonToken.TokenType.EndObject) in Next()
138 protected abstract JsonToken NextImpl(); in NextImpl()
145 private readonly IList<JsonToken> tokens;
149 internal JsonReplayTokenizer(IList<JsonToken> tokens, JsonTokenizer nextTokenizer) in JsonReplayTokenizer()
156 protected override JsonToken NextImpl() in NextImpl()
192 protected override JsonToken NextImpl() in NextImpl()
205 return JsonToken.EndDocument; in NextImpl()
228 return JsonToken.Name(stringValue); in NextImpl()
233 return JsonToken.Value(stringValue); in NextImpl()
239 return JsonToken.StartObject; in NextImpl()
243 return JsonToken.EndObject; in NextImpl()
248 return JsonToken.StartArray; in NextImpl()
252 return JsonToken.EndArray; in NextImpl()
256 return JsonToken.Null; in NextImpl()
260 return JsonToken.True; in NextImpl()
264 return JsonToken.False; in NextImpl()
278 return JsonToken.Value(number); in NextImpl()