annotate Implab/Formats/JSON/JSONElementType.cs @ 187:dd4a3590f9c6 ref20160224

Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler Any unhandled OperationCanceledException will cause the promise cancelation
author cin
date Tue, 19 Apr 2016 17:35:20 +0300
parents e227e78d72e4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
165
e227e78d72e4 DFA refactoring
cin
parents: 163
diff changeset
1 namespace Implab.Formats.JSON {
163
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
2 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
3 /// Тип элемента на котором находится парсер
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
4 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
5 public enum JSONElementType {
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
6 None,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
7 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
8 /// Начало объекта
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
9 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
10 BeginObject,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
11 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
12 /// Конец объекта
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
13 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
14 EndObject,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
15 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
16 /// Начало массива
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
17 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
18 BeginArray,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
19 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
20 /// Конец массива
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
21 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
22 EndArray,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
23 /// <summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
24 /// Простое значение
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
25 /// </summary>
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
26 Value
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
27 }
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
28 }