Statistics
| Branch: | Tag: | Revision:

root / Assets / Plugins / LitJson / ParserToken.cs @ 11:01dde4258840

History | View | Annotate | Download (850 Bytes)

1
#region Header
2
/**
3
 * ParserToken.cs
4
 *   Internal representation of the tokens used by the lexer and the parser.
5
 *
6
 * The authors disclaim copyright to this source code. For more details, see
7
 * the COPYING file included with this distribution.
8
 **/
9
#endregion
10
11
12
namespace LitJson
13
{
14
    internal enum ParserToken
15
    {
16
        // Lexer tokens (see section A.1.1. of the manual)
17
        None = System.Char.MaxValue + 1,
18
        Number,
19
        True,
20
        False,
21
        Null,
22
        CharSeq,
23
        // Single char
24
        Char,
25
26
        // Parser Rules (see section A.2.1 of the manual)
27
        Text,
28
        Object,
29
        ObjectPrime,
30
        Pair,
31
        PairRest,
32
        Array,
33
        ArrayPrime,
34
        Value,
35
        ValueRest,
36
        String,
37
38
        // End of input
39
        End,
40
41
        // The empty rule
42
        Epsilon
43
    }
44
}