| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| JSONConstants |
|
| 0.0;0 |
| 1 | /* Generated By:JavaCC: Do not edit this line. JSONConstants.java */ | |
| 2 | package org.webslinger.json; | |
| 3 | ||
| 4 | public interface JSONConstants { | |
| 5 | ||
| 6 | int EOF = 0; | |
| 7 | int OBJECT_BEGIN = 1; | |
| 8 | int OBJECT_END = 2; | |
| 9 | int ARRAY_BEGIN = 3; | |
| 10 | int ARRAY_END = 4; | |
| 11 | int ITEM_SEP = 5; | |
| 12 | int KEY_SEP = 6; | |
| 13 | int TRUE = 7; | |
| 14 | int FALSE = 8; | |
| 15 | int NULL = 9; | |
| 16 | int WHOLE_NUMBER = 10; | |
| 17 | int FLOAT_NUMBER = 11; | |
| 18 | int NUMBER_PREFIX = 12; | |
| 19 | int STRING_START = 13; | |
| 20 | int CLOSE_PAREN = 14; | |
| 21 | int RESOLVE_BEGIN = 15; | |
| 22 | int CHARACTER = 16; | |
| 23 | int STRING_END = 17; | |
| 24 | int CONTROL_CHAR = 18; | |
| 25 | int UNICODE = 19; | |
| 26 | int WHITESPACE = 20; | |
| 27 | ||
| 28 | int DEFAULT = 0; | |
| 29 | int RESOLVE = 1; | |
| 30 | int IN_RESOLVE_CLASS = 2; | |
| 31 | int IN_RESOLVE_VALUE = 3; | |
| 32 | int IN_STRING = 4; | |
| 33 | ||
| 34 | String[] tokenImage = { | |
| 35 | "<EOF>", | |
| 36 | "\"{\"", | |
| 37 | "\"}\"", | |
| 38 | "\"[\"", | |
| 39 | "\"]\"", | |
| 40 | "\",\"", | |
| 41 | "\":\"", | |
| 42 | "\"true\"", | |
| 43 | "\"false\"", | |
| 44 | "\"null\"", | |
| 45 | "<WHOLE_NUMBER>", | |
| 46 | "<FLOAT_NUMBER>", | |
| 47 | "<NUMBER_PREFIX>", | |
| 48 | "\"\\\"\"", | |
| 49 | "\")\"", | |
| 50 | "\"resolve(\"", | |
| 51 | "<CHARACTER>", | |
| 52 | "\"\\\"\"", | |
| 53 | "<CONTROL_CHAR>", | |
| 54 | "<UNICODE>", | |
| 55 | "<WHITESPACE>", | |
| 56 | }; | |
| 57 | ||
| 58 | } |