Total Complexity | 0 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class JsonToken |
||
13 | { |
||
14 | /** Represents the [ character that begins an array */ |
||
15 | const T_LEFT_BRACKET = 1; |
||
16 | |||
17 | /** Represents the ] character the ends an array */ |
||
18 | const T_RIGHT_BRACKET = 2; |
||
19 | |||
20 | /** Represents the { character that begins an object */ |
||
21 | const T_LEFT_BRACE = 3; |
||
22 | |||
23 | /** Represents the } character that ends an object */ |
||
24 | const T_RIGHT_BRACE = 4; |
||
25 | |||
26 | /** Represents a name in an object name/value pair */ |
||
27 | const T_NAME = 5; |
||
28 | |||
29 | /** Represent the : character that separates a name and a value */ |
||
30 | const T_COLON = 6; |
||
31 | |||
32 | /** Represents all values */ |
||
33 | const T_VALUE = 7; |
||
34 | |||
35 | /** Represents the , character that separates array values and object name/value pairs */ |
||
36 | const T_COMMA = 8; |
||
37 | |||
38 | /** Represents all whitespace */ |
||
39 | const T_WHITESPACE = 9; |
||
40 | } |
||
41 |