alexandroid/decompiled/jadx/sources/org/json/simple/parser/Yytoken.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

56 lines
1.8 KiB
Java

package org.json.simple.parser;
import com.amazon.alexa.ra.core.ui.markdown.parser.formatter.MarkdownConstants;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes11.dex */
public class Yytoken {
public static final int TYPE_COLON = 6;
public static final int TYPE_COMMA = 5;
public static final int TYPE_EOF = -1;
public static final int TYPE_LEFT_BRACE = 1;
public static final int TYPE_LEFT_SQUARE = 3;
public static final int TYPE_RIGHT_BRACE = 2;
public static final int TYPE_RIGHT_SQUARE = 4;
public static final int TYPE_VALUE = 0;
public int type;
public Object value;
public Yytoken(int i, Object obj) {
this.type = i;
this.value = obj;
}
public String toString() {
StringBuffer stringBuffer = new StringBuffer();
switch (this.type) {
case -1:
stringBuffer.append("END OF FILE");
break;
case 0:
stringBuffer.append("VALUE(");
stringBuffer.append(this.value);
stringBuffer.append(MarkdownConstants.RIGHT_PARENTHESIS);
break;
case 1:
stringBuffer.append("LEFT BRACE({)");
break;
case 2:
stringBuffer.append("RIGHT BRACE(})");
break;
case 3:
stringBuffer.append("LEFT SQUARE([)");
break;
case 4:
stringBuffer.append("RIGHT SQUARE(])");
break;
case 5:
stringBuffer.append("COMMA(,)");
break;
case 6:
stringBuffer.append("COLON(:)");
break;
}
return stringBuffer.toString();
}
}