annotate Implab/Formats/JSON/JSONElementContext.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 c32688129f14
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 /// internal
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
4 /// </summary>
165
e227e78d72e4 DFA refactoring
cin
parents: 163
diff changeset
5 enum JSONElementContext {
163
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
6 None,
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
7 Object,
180
c32688129f14 refactoring complete, JSONParser rewritten
cin
parents: 178
diff changeset
8 Array,
c32688129f14 refactoring complete, JSONParser rewritten
cin
parents: 178
diff changeset
9 Closed
163
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
10 }
419aa51b04fd JSON moved to Formats namespace
cin
parents:
diff changeset
11 }