mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
79 lines
2.2 KiB
Java
79 lines
2.2 KiB
Java
package com.alibaba.fastjson.parser;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class JSONToken {
|
|
public static final int COLON = 17;
|
|
public static final int COMMA = 16;
|
|
public static final int EOF = 20;
|
|
public static final int ERROR = 1;
|
|
public static final int FALSE = 7;
|
|
public static final int IDENTIFIER = 18;
|
|
public static final int LBRACE = 12;
|
|
public static final int LBRACKET = 14;
|
|
public static final int LITERAL_FLOAT = 3;
|
|
public static final int LITERAL_INT = 2;
|
|
public static final int LITERAL_ISO8601_DATE = 5;
|
|
public static final int LITERAL_STRING = 4;
|
|
public static final int LPAREN = 10;
|
|
public static final int NEW = 9;
|
|
public static final int NULL = 8;
|
|
public static final int RBRACE = 13;
|
|
public static final int RBRACKET = 15;
|
|
public static final int RPAREN = 11;
|
|
public static final int SET = 21;
|
|
public static final int TREE_SET = 22;
|
|
public static final int TRUE = 6;
|
|
public static final int UNDEFINED = 23;
|
|
|
|
public static String name(int i) {
|
|
switch (i) {
|
|
case 1:
|
|
return "error";
|
|
case 2:
|
|
return "int";
|
|
case 3:
|
|
return "float";
|
|
case 4:
|
|
return "string";
|
|
case 5:
|
|
return "iso8601";
|
|
case 6:
|
|
return "true";
|
|
case 7:
|
|
return "false";
|
|
case 8:
|
|
return "null";
|
|
case 9:
|
|
return "new";
|
|
case 10:
|
|
return "(";
|
|
case 11:
|
|
return ")";
|
|
case 12:
|
|
return "{";
|
|
case 13:
|
|
return "}";
|
|
case 14:
|
|
return "[";
|
|
case 15:
|
|
return "]";
|
|
case 16:
|
|
return ",";
|
|
case 17:
|
|
return ":";
|
|
case 18:
|
|
return "ident";
|
|
case 19:
|
|
default:
|
|
return "Unknown";
|
|
case 20:
|
|
return "EOF";
|
|
case 21:
|
|
return "Set";
|
|
case 22:
|
|
return "TreeSet";
|
|
case 23:
|
|
return "undefined";
|
|
}
|
|
}
|
|
}
|