constants.ts 535 B

1234567891011121314151617181920212223
  1. export const OBJ = 10;
  2. export const OBJ_KEY = 11;
  3. export const OBJ_KEY_STR = 12;
  4. export const OBJ_VAL = 13;
  5. export const OBJ_VAL_STR = 14;
  6. export const OBJ_VAL_COMPLETED = 15;
  7. export const ARR = 20;
  8. export const ARR_VAL = 21;
  9. export const ARR_VAL_STR = 22;
  10. export const ARR_VAL_COMPLETED = 23;
  11. export type JsonToken =
  12. | typeof OBJ
  13. | typeof OBJ_KEY
  14. | typeof OBJ_KEY_STR
  15. | typeof OBJ_VAL
  16. | typeof OBJ_VAL_STR
  17. | typeof OBJ_VAL_COMPLETED
  18. | typeof ARR
  19. | typeof ARR_VAL
  20. | typeof ARR_VAL_STR
  21. | typeof ARR_VAL_COMPLETED;