/QingTingFanBianYi/src/com/alibaba/fastjson/parser/JSONToken.java

https://gitlab.com/qt-prometheus/qt-prometheus · Java · 85 lines · 78 code · 3 blank · 4 comment · 1 complexity · e13e180651375e5d893c4df4f6e361bf MD5 · raw file

  1. package com.alibaba.fastjson.parser;
  2. public class JSONToken
  3. {
  4. public static final int COLON = 17;
  5. public static final int COMMA = 16;
  6. public static final int EOF = 20;
  7. public static final int ERROR = 1;
  8. public static final int FALSE = 7;
  9. public static final int FIELD_NAME = 19;
  10. public static final int IDENTIFIER = 18;
  11. public static final int LBRACE = 12;
  12. public static final int LBRACKET = 14;
  13. public static final int LITERAL_FLOAT = 3;
  14. public static final int LITERAL_INT = 2;
  15. public static final int LITERAL_ISO8601_DATE = 5;
  16. public static final int LITERAL_STRING = 4;
  17. public static final int LPAREN = 10;
  18. public static final int NEW = 9;
  19. public static final int NULL = 8;
  20. public static final int RBRACE = 13;
  21. public static final int RBRACKET = 15;
  22. public static final int RPAREN = 11;
  23. public static final int SET = 21;
  24. public static final int TREE_SET = 22;
  25. public static final int TRUE = 6;
  26. public static String name(int paramInt)
  27. {
  28. switch (paramInt)
  29. {
  30. default:
  31. return "Unkown";
  32. case 1:
  33. return "error";
  34. case 2:
  35. return "int";
  36. case 3:
  37. return "float";
  38. case 4:
  39. return "string";
  40. case 5:
  41. return "iso8601";
  42. case 6:
  43. return "true";
  44. case 7:
  45. return "false";
  46. case 8:
  47. return "null";
  48. case 9:
  49. return "new";
  50. case 10:
  51. return "(";
  52. case 11:
  53. return ")";
  54. case 12:
  55. return "{";
  56. case 13:
  57. return "}";
  58. case 14:
  59. return "[";
  60. case 15:
  61. return "]";
  62. case 16:
  63. return ",";
  64. case 17:
  65. return ":";
  66. case 18:
  67. return "ident";
  68. case 19:
  69. return "fieldName";
  70. case 20:
  71. return "EOF";
  72. case 21:
  73. return "Set";
  74. case 22:
  75. }
  76. return "TreeSet";
  77. }
  78. }
  79. /* Location: C:\Users\User\dex2jar-2.0\dex\qting\classes-dex2jar.jar
  80. * Qualified Name: com.alibaba.fastjson.parser.JSONToken
  81. * JD-Core Version: 0.6.2
  82. */