public class jdk.nashorn.internal.parser.JSONParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nashorn.internal.parser.JSONParser
super_class: java.lang.Object
{
private final java.lang.String source;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.objects.Global global;
descriptor: Ljdk/nashorn/internal/objects/Global;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean dualFields;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final int length;
descriptor: I
flags: (0x0010) ACC_FINAL
int pos;
descriptor: I
flags: (0x0000)
private static final int EOF;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final java.lang.String TRUE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "true"
private static final java.lang.String FALSE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "false"
private static final java.lang.String NULL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "null"
private static final int STATE_EMPTY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int STATE_ELEMENT_PARSED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int STATE_COMMA_PARSED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/parser/JSONParser;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.parser.JSONParser.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, jdk.nashorn.internal.objects.Global, boolean);
descriptor: (Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
2: aload 0
aload 1
putfield jdk.nashorn.internal.parser.JSONParser.source:Ljava/lang/String;
3: aload 0
aload 2
putfield jdk.nashorn.internal.parser.JSONParser.global:Ljdk/nashorn/internal/objects/Global;
4: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield jdk.nashorn.internal.parser.JSONParser.length:I
5: aload 0
iload 3
putfield jdk.nashorn.internal.parser.JSONParser.dualFields:Z
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 7 1 source Ljava/lang/String;
0 7 2 global Ljdk/nashorn/internal/objects/Global;
0 7 3 dualFields Z
MethodParameters:
Name Flags
source final
global final
dualFields final
public static java.lang.String quote(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual java.lang.String.toCharArray:()[C
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 24
StackMap locals: java.lang.String java.lang.StringBuilder top int int char[]
StackMap stack:
3: aload 5
iload 3
caload
istore 2
start local 2 4: iload 2
lookupswitch { // 7
8: 9
9: 17
10: 13
12: 11
13: 15
34: 7
92: 5
default: 19
}
5: StackMap locals: java.lang.String java.lang.StringBuilder int int int char[]
StackMap stack:
aload 1
ldc "\\\\"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 23
7: StackMap locals:
StackMap stack:
aload 1
ldc "\\\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 23
9: StackMap locals:
StackMap stack:
aload 1
ldc "\\b"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: goto 23
11: StackMap locals:
StackMap stack:
aload 1
ldc "\\f"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: goto 23
13: StackMap locals:
StackMap stack:
aload 1
ldc "\\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: goto 23
15: StackMap locals:
StackMap stack:
aload 1
ldc "\\r"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: goto 23
17: StackMap locals:
StackMap stack:
aload 1
ldc "\\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: goto 23
19: StackMap locals:
StackMap stack:
iload 2
bipush 32
if_icmpge 22
20: aload 1
iload 2
invokestatic jdk.nashorn.internal.parser.Lexer.unicodeEscape:(C)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: goto 23
22: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 2 23: StackMap locals: java.lang.String java.lang.StringBuilder top int int char[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
24: iload 3
iload 4
if_icmplt 3
25: aload 1
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 value Ljava/lang/String;
1 27 1 product Ljava/lang/StringBuilder;
4 23 2 ch C
MethodParameters:
Name Flags
value final
public java.lang.Object parse();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseLiteral:()Ljava/lang/Object;
astore 1
start local 1 1: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.skipWhiteSpace:()V
2: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
if_icmpge 4
3: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc "eof"
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
invokestatic jdk.nashorn.internal.parser.JSONParser.toString:(I)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
4: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/parser/JSONParser;
1 5 1 value Ljava/lang/Object;
private java.lang.Object parseLiteral();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.skipWhiteSpace:()V
1: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
istore 1
start local 1 2: iload 1
iconst_m1
if_icmpne 4
3: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc "json literal"
ldc "eof"
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
4: StackMap locals: int
StackMap stack:
iload 1
lookupswitch { // 6
34: 7
91: 6
102: 8
110: 10
116: 9
123: 5
default: 11
}
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseObject:()Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseArray:()Ljava/lang/Object;
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseString:()Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 0
ldc "false"
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseKeyword:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
areturn
9: StackMap locals:
StackMap stack:
aload 0
ldc "true"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseKeyword:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
areturn
10: StackMap locals:
StackMap stack:
aload 0
ldc "null"
aconst_null
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseKeyword:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
areturn
11: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual jdk.nashorn.internal.parser.JSONParser.isDigit:(I)Z
ifne 12
iload 1
bipush 45
if_icmpne 13
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseNumber:()Ljava/lang/Number;
areturn
13: StackMap locals:
StackMap stack:
iload 1
bipush 46
if_icmpne 15
14: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.numberError:(I)Ljdk/nashorn/internal/runtime/ParserException;
athrow
15: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc "json literal"
iload 1
invokestatic jdk.nashorn.internal.parser.JSONParser.toString:(I)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/nashorn/internal/parser/JSONParser;
2 16 1 c I
private java.lang.Object parseObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.dualFields:Z
ifeq 1
invokestatic jdk.nashorn.internal.scripts.JD.getInitialMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
goto 2
StackMap locals:
StackMap stack:
1: invokestatic jdk.nashorn.internal.scripts.JO.getInitialMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.PropertyMap
2: astore 1
start local 1 3: getstatic jdk.nashorn.internal.runtime.arrays.ArrayData.EMPTY_ARRAY:Ljdk/nashorn/internal/runtime/arrays/ArrayData;
astore 2
start local 2 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: getstatic jdk.nashorn.internal.parser.JSONParser.$assertionsDisabled:Z
ifne 7
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
bipush 123
if_icmpeq 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: jdk.nashorn.internal.parser.JSONParser jdk.nashorn.internal.runtime.PropertyMap jdk.nashorn.internal.runtime.arrays.ArrayData java.util.ArrayList int
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
8: goto 34
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.skipWhiteSpace:()V
10: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
istore 5
start local 5 11: iload 5
lookupswitch { // 3
34: 12
44: 24
125: 29
default: 33
}
12: StackMap locals: int
StackMap stack:
iload 4
iconst_1
if_icmpne 14
13: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
ldc ", or }"
iload 5
invokestatic jdk.nashorn.internal.parser.JSONParser.toString:(I)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseString:()Ljava/lang/String;
astore 6
start local 6 15: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectColon:()V
16: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseLiteral:()Ljava/lang/Object;
astore 7
start local 7 17: aload 6
invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.getArrayIndex:(Ljava/lang/String;)I
istore 8
start local 8 18: iload 8
invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.isValidArrayIndex:(I)Z
ifeq 21
19: aload 2
iload 8
aload 7
invokestatic jdk.nashorn.internal.parser.JSONParser.addArrayElement:(Ljdk/nashorn/internal/runtime/arrays/ArrayData;ILjava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
astore 2
20: goto 22
21: StackMap locals: java.lang.String java.lang.Object int
StackMap stack:
aload 0
aload 1
aload 3
aload 6
aload 7
invokevirtual jdk.nashorn.internal.parser.JSONParser.addObjectProperty:(Ljdk/nashorn/internal/runtime/PropertyMap;Ljava/util/List;Ljava/lang/String;Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/PropertyMap;
astore 1
22: StackMap locals:
StackMap stack:
iconst_1
istore 4
23: goto 34
end local 8 end local 7 end local 6 24: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmpeq 26
25: aload 0
ldc "trailing.comma.in.json"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.parser.AbstractParser.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/ParserException;
athrow
26: StackMap locals:
StackMap stack:
iconst_2
istore 4
27: aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
28: goto 34
29: StackMap locals:
StackMap stack:
iload 4
iconst_2
if_icmpne 31
30: aload 0
ldc "trailing.comma.in.json"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.parser.AbstractParser.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/ParserException;
athrow
31: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
32: aload 0
aload 1
aload 3
aload 2
invokevirtual jdk.nashorn.internal.parser.JSONParser.createObject:(Ljdk/nashorn/internal/runtime/PropertyMap;Ljava/util/List;Ljdk/nashorn/internal/runtime/arrays/ArrayData;)Ljava/lang/Object;
areturn
33: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc ", or }"
iload 5
invokestatic jdk.nashorn.internal.parser.JSONParser.toString:(I)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
end local 5 34: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
if_icmplt 9
35: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc ", or }"
ldc "eof"
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Ljdk/nashorn/internal/parser/JSONParser;
3 36 1 propertyMap Ljdk/nashorn/internal/runtime/PropertyMap;
4 36 2 arrayData Ljdk/nashorn/internal/runtime/arrays/ArrayData;
5 36 3 values Ljava/util/ArrayList<Ljava/lang/Object;>;
6 36 4 state I
11 34 5 c I
15 24 6 id Ljava/lang/String;
17 24 7 value Ljava/lang/Object;
18 24 8 index I
private static jdk.nashorn.internal.runtime.arrays.ArrayData addArrayElement(jdk.nashorn.internal.runtime.arrays.ArrayData, int, java.lang.Object);
descriptor: (Ljdk/nashorn/internal/runtime/arrays/ArrayData;ILjava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.length:()J
lstore 3
start local 3 1: iload 1
invokestatic jdk.nashorn.internal.runtime.arrays.ArrayIndex.toLongIndex:(I)J
lstore 5
start local 5 2: aload 0
astore 7
start local 7 3: lload 5
lload 3
lcmp
iflt 7
4: aload 7
lload 5
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.ensure:(J)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
astore 7
5: lload 5
lload 3
lcmp
ifle 7
6: aload 7
lload 3
lload 5
lconst_1
lsub
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.delete:(JJ)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
astore 7
7: StackMap locals: long long jdk.nashorn.internal.runtime.arrays.ArrayData
StackMap stack:
aload 7
iload 1
aload 2
iconst_0
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.set:(ILjava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
areturn
end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 arrayData Ljdk/nashorn/internal/runtime/arrays/ArrayData;
0 8 1 index I
0 8 2 value Ljava/lang/Object;
1 8 3 oldLength J
2 8 5 longIndex J
3 8 7 newArrayData Ljdk/nashorn/internal/runtime/arrays/ArrayData;
MethodParameters:
Name Flags
arrayData final
index final
value final
private jdk.nashorn.internal.runtime.PropertyMap addObjectProperty(jdk.nashorn.internal.runtime.PropertyMap, java.util.List<java.lang.Object>, java.lang.String, );
descriptor: (Ljdk/nashorn/internal/runtime/PropertyMap;Ljava/util/List;Ljava/lang/String;Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 3
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.findProperty:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/Property;
astore 5
start local 5 1: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.dualFields:Z
ifeq 5
2: aload 4
invokestatic jdk.nashorn.internal.parser.JSONParser.getType:(Ljava/lang/Object;)Ljava/lang/Class;
astore 7
start local 7 3: sipush 2048
istore 8
start local 8 4: goto 7
end local 8 end local 7 5: StackMap locals: jdk.nashorn.internal.runtime.Property
StackMap stack:
ldc Ljava/lang/Object;
astore 7
start local 7 6: iconst_0
istore 8
start local 8 7: StackMap locals: jdk.nashorn.internal.parser.JSONParser jdk.nashorn.internal.runtime.PropertyMap java.util.List java.lang.String java.lang.Object jdk.nashorn.internal.runtime.Property top java.lang.Class int
StackMap stack:
aload 5
ifnull 11
8: aload 2
aload 5
invokevirtual jdk.nashorn.internal.runtime.Property.getSlot:()I
aload 4
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
9: aload 1
aload 5
new jdk.nashorn.internal.runtime.SpillProperty
dup
aload 3
iload 8
aload 5
invokevirtual jdk.nashorn.internal.runtime.Property.getSlot:()I
aload 7
invokespecial jdk.nashorn.internal.runtime.SpillProperty.<init>:(Ljava/lang/String;IILjava/lang/Class;)V
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.replaceProperty:(Ljdk/nashorn/internal/runtime/Property;Ljdk/nashorn/internal/runtime/Property;)Ljdk/nashorn/internal/runtime/PropertyMap;
astore 6
start local 6 10: goto 13
end local 6 11: StackMap locals:
StackMap stack:
aload 2
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 1
new jdk.nashorn.internal.runtime.SpillProperty
dup
aload 3
iload 8
aload 1
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.size:()I
aload 7
invokespecial jdk.nashorn.internal.runtime.SpillProperty.<init>:(Ljava/lang/String;IILjava/lang/Class;)V
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.addProperty:(Ljdk/nashorn/internal/runtime/Property;)Ljdk/nashorn/internal/runtime/PropertyMap;
astore 6
start local 6 13: StackMap locals: jdk.nashorn.internal.parser.JSONParser jdk.nashorn.internal.runtime.PropertyMap java.util.List java.lang.String java.lang.Object jdk.nashorn.internal.runtime.Property jdk.nashorn.internal.runtime.PropertyMap java.lang.Class int
StackMap stack:
aload 6
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 14 1 propertyMap Ljdk/nashorn/internal/runtime/PropertyMap;
0 14 2 values Ljava/util/List<Ljava/lang/Object;>;
0 14 3 id Ljava/lang/String;
0 14 4 value Ljava/lang/Object;
1 14 5 oldProperty Ljdk/nashorn/internal/runtime/Property;
10 11 6 newMap Ljdk/nashorn/internal/runtime/PropertyMap;
13 14 6 newMap Ljdk/nashorn/internal/runtime/PropertyMap;
3 5 7 type Ljava/lang/Class<*>;
6 14 7 type Ljava/lang/Class<*>;
4 5 8 flags I
7 14 8 flags I
Signature: (Ljdk/nashorn/internal/runtime/PropertyMap;Ljava/util/List<Ljava/lang/Object;>;Ljava/lang/String;Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/PropertyMap;
MethodParameters:
Name Flags
propertyMap final
values final
id final
value final
private createObject(jdk.nashorn.internal.runtime.PropertyMap, java.util.List<java.lang.Object>, jdk.nashorn.internal.runtime.arrays.ArrayData);
descriptor: (Ljdk/nashorn/internal/runtime/PropertyMap;Ljava/util/List;Ljdk/nashorn/internal/runtime/arrays/ArrayData;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.dualFields:Z
ifeq 1
aload 2
invokeinterface java.util.List.size:()I
newarray 11
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: long[]
2: astore 4
start local 4 3: aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.Object
astore 5
start local 5 4: aload 1
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.getProperties:()[Ljdk/nashorn/internal/runtime/Property;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 11
StackMap locals: jdk.nashorn.internal.parser.JSONParser jdk.nashorn.internal.runtime.PropertyMap java.util.List jdk.nashorn.internal.runtime.arrays.ArrayData long[] java.lang.Object[] top int int jdk.nashorn.internal.runtime.Property[]
StackMap stack:
5: aload 9
iload 7
aaload
astore 6
start local 6 6: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.dualFields:Z
ifeq 7
aload 6
invokevirtual jdk.nashorn.internal.runtime.Property.getType:()Ljava/lang/Class;
ldc Ljava/lang/Object;
if_acmpne 9
7: StackMap locals: jdk.nashorn.internal.parser.JSONParser jdk.nashorn.internal.runtime.PropertyMap java.util.List jdk.nashorn.internal.runtime.arrays.ArrayData long[] java.lang.Object[] jdk.nashorn.internal.runtime.Property int int jdk.nashorn.internal.runtime.Property[]
StackMap stack:
aload 5
aload 6
invokevirtual jdk.nashorn.internal.runtime.Property.getSlot:()I
aload 2
aload 6
invokevirtual jdk.nashorn.internal.runtime.Property.getSlot:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aastore
8: goto 10
9: StackMap locals:
StackMap stack:
aload 4
aload 6
invokevirtual jdk.nashorn.internal.runtime.Property.getSlot:()I
aload 2
aload 6
invokevirtual jdk.nashorn.internal.runtime.Property.getSlot:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Number
invokestatic jdk.nashorn.internal.codegen.ObjectClassGenerator.pack:(Ljava/lang/Number;)J
lastore
end local 6 10: StackMap locals: jdk.nashorn.internal.parser.JSONParser jdk.nashorn.internal.runtime.PropertyMap java.util.List jdk.nashorn.internal.runtime.arrays.ArrayData long[] java.lang.Object[] top int int jdk.nashorn.internal.runtime.Property[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
iload 8
if_icmplt 5
12: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.dualFields:Z
ifeq 14
13: new jdk.nashorn.internal.scripts.JD
dup
aload 1
aload 4
aload 5
invokespecial jdk.nashorn.internal.scripts.JD.<init>:(Ljdk/nashorn/internal/runtime/PropertyMap;[J[Ljava/lang/Object;)V
goto 15
StackMap locals: jdk.nashorn.internal.parser.JSONParser jdk.nashorn.internal.runtime.PropertyMap java.util.List jdk.nashorn.internal.runtime.arrays.ArrayData long[] java.lang.Object[]
StackMap stack:
14: new jdk.nashorn.internal.scripts.JO
dup
aload 1
aconst_null
aload 5
invokespecial jdk.nashorn.internal.scripts.JO.<init>:(Ljdk/nashorn/internal/runtime/PropertyMap;[J[Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.ScriptObject
astore 6
start local 6 16: aload 6
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.global:Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getObjectPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.setInitialProto:(Ljdk/nashorn/internal/runtime/ScriptObject;)V
17: aload 6
aload 3
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.setArray:(Ljdk/nashorn/internal/runtime/arrays/ArrayData;)V
18: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 19 1 propertyMap Ljdk/nashorn/internal/runtime/PropertyMap;
0 19 2 values Ljava/util/List<Ljava/lang/Object;>;
0 19 3 arrayData Ljdk/nashorn/internal/runtime/arrays/ArrayData;
3 19 4 primitiveSpill [J
4 19 5 objectSpill [Ljava/lang/Object;
6 10 6 property Ljdk/nashorn/internal/runtime/Property;
16 19 6 object Ljdk/nashorn/internal/runtime/ScriptObject;
Signature: (Ljdk/nashorn/internal/runtime/PropertyMap;Ljava/util/List<Ljava/lang/Object;>;Ljdk/nashorn/internal/runtime/arrays/ArrayData;)Ljava/lang/Object;
MethodParameters:
Name Flags
propertyMap final
values final
arrayData final
private static java.lang.Class<?> getType();
descriptor: (Ljava/lang/Object;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Integer
ifeq 2
1: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Double
ifeq 4
3: getstatic java.lang.Double.TYPE:Ljava/lang/Class;
areturn
4: StackMap locals:
StackMap stack:
ldc Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 value Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
value final
private void expectColon();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.skipWhiteSpace:()V
1: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
istore 1
start local 1 2: iload 1
bipush 58
if_icmpeq 4
3: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
ldc ":"
iload 1
invokestatic jdk.nashorn.internal.parser.JSONParser.toString:(I)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
4: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/parser/JSONParser;
2 5 1 n I
private java.lang.Object parseArray();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.runtime.arrays.ArrayData.EMPTY_ARRAY:Ljdk/nashorn/internal/runtime/arrays/ArrayData;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: getstatic jdk.nashorn.internal.parser.JSONParser.$assertionsDisabled:Z
ifne 3
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
bipush 91
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: jdk.nashorn.internal.runtime.arrays.ArrayData int
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
4: goto 22
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.skipWhiteSpace:()V
6: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
istore 3
start local 3 7: iload 3
lookupswitch { // 2
44: 8
93: 13
default: 17
}
8: StackMap locals: int
StackMap stack:
iload 2
iconst_1
if_icmpeq 10
9: aload 0
ldc "trailing.comma.in.json"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.parser.AbstractParser.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/ParserException;
athrow
10: StackMap locals:
StackMap stack:
iconst_2
istore 2
11: aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
12: goto 22
13: StackMap locals:
StackMap stack:
iload 2
iconst_2
if_icmpne 15
14: aload 0
ldc "trailing.comma.in.json"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.parser.AbstractParser.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/ParserException;
athrow
15: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
16: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.global:Ljdk/nashorn/internal/objects/Global;
aload 1
invokevirtual jdk.nashorn.internal.objects.Global.wrapAsObject:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
17: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmpne 19
18: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc ", or ]"
iload 3
invokestatic jdk.nashorn.internal.parser.JSONParser.toString:(I)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
19: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.length:()J
lstore 4
start local 4 20: aload 1
lload 4
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.ensure:(J)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
lload 4
l2i
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseLiteral:()Ljava/lang/Object;
iconst_1
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.set:(ILjava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
astore 1
21: iconst_1
istore 2
end local 4 end local 3 22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
if_icmplt 5
23: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc ", or ]"
ldc "eof"
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/nashorn/internal/parser/JSONParser;
1 24 1 arrayData Ljdk/nashorn/internal/runtime/arrays/ArrayData;
2 24 2 state I
7 22 3 c I
20 22 4 index J
private java.lang.String parseString();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
dup_x1
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
istore 1
start local 1 1: aconst_null
astore 2
start local 2 2: goto 18
3: StackMap locals: int java.lang.StringBuilder
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
istore 3
start local 3 4: iload 3
bipush 31
if_icmpgt 6
5: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc "String contains control character"
invokevirtual jdk.nashorn.internal.parser.JSONParser.syntaxError:(ILjava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
6: StackMap locals: int
StackMap stack:
iload 3
bipush 92
if_icmpne 13
7: aload 2
ifnonnull 9
8: new java.lang.StringBuilder
dup
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iload 1
isub
bipush 16
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
9: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.source:Ljava/lang/String;
iload 1
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
10: aload 2
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseEscapeSequence:()C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
istore 1
12: goto 18
StackMap locals:
StackMap stack:
13: iload 3
bipush 34
if_icmpne 18
14: aload 2
ifnull 17
15: aload 2
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.source:Ljava/lang/String;
iload 1
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
16: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.source:Ljava/lang/String;
iload 1
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 3 18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
if_icmplt 3
19: aload 0
ldc "missing.close.quote"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.parser.Lexer.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;II)Ljdk/nashorn/internal/runtime/ParserException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/nashorn/internal/parser/JSONParser;
1 20 1 start I
2 20 2 sb Ljava/lang/StringBuilder;
4 18 3 c I
private char parseEscapeSequence();
descriptor: ()C
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
istore 1
start local 1 1: iload 1
lookupswitch { // 9
34: 2
47: 4
92: 3
98: 5
102: 6
110: 7
114: 8
116: 9
117: 10
default: 11
}
2: StackMap locals: int
StackMap stack:
bipush 34
ireturn
3: StackMap locals:
StackMap stack:
bipush 92
ireturn
4: StackMap locals:
StackMap stack:
bipush 47
ireturn
5: StackMap locals:
StackMap stack:
bipush 8
ireturn
6: StackMap locals:
StackMap stack:
bipush 12
ireturn
7: StackMap locals:
StackMap stack:
bipush 10
ireturn
8: StackMap locals:
StackMap stack:
bipush 13
ireturn
9: StackMap locals:
StackMap stack:
bipush 9
ireturn
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseUnicodeEscape:()C
ireturn
11: StackMap locals:
StackMap stack:
aload 0
ldc "invalid.escape.char"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.parser.Lexer.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;II)Ljdk/nashorn/internal/runtime/ParserException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/nashorn/internal/parser/JSONParser;
1 12 1 c I
private char parseUnicodeEscape();
descriptor: ()C
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseHexDigit:()I
bipush 12
ishl
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseHexDigit:()I
bipush 8
ishl
ior
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseHexDigit:()I
iconst_4
ishl
ior
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.parseHexDigit:()I
ior
i2c
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/JSONParser;
private int parseHexDigit();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
istore 1
start local 1 1: iload 1
bipush 48
if_icmplt 3
iload 1
bipush 57
if_icmpgt 3
2: iload 1
bipush 48
isub
ireturn
3: StackMap locals: int
StackMap stack:
iload 1
bipush 65
if_icmplt 5
iload 1
bipush 70
if_icmpgt 5
4: iload 1
bipush 10
iadd
bipush 65
isub
ireturn
5: StackMap locals:
StackMap stack:
iload 1
bipush 97
if_icmplt 7
iload 1
bipush 102
if_icmpgt 7
6: iload 1
bipush 10
iadd
bipush 97
isub
ireturn
7: StackMap locals:
StackMap stack:
aload 0
ldc "invalid.hex"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.parser.Lexer.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;II)Ljdk/nashorn/internal/runtime/ParserException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/parser/JSONParser;
1 8 1 c I
private boolean isDigit(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 48
if_icmplt 1
iload 1
bipush 57
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 2 1 c I
MethodParameters:
Name Flags
c final
private void skipDigits();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: goto 5
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
istore 1
start local 1 2: aload 0
iload 1
invokevirtual jdk.nashorn.internal.parser.JSONParser.isDigit:(I)Z
ifne 4
3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
if_icmplt 1
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/JSONParser;
2 5 1 c I
private java.lang.Number parseNumber();
descriptor: ()Ljava/lang/Number;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
istore 1
start local 1 1: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
istore 2
start local 2 2: iload 2
bipush 45
if_icmpne 4
3: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
istore 2
4: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual jdk.nashorn.internal.parser.JSONParser.isDigit:(I)Z
ifne 6
5: aload 0
iload 1
invokevirtual jdk.nashorn.internal.parser.JSONParser.numberError:(I)Ljdk/nashorn/internal/runtime/ParserException;
athrow
6: StackMap locals:
StackMap stack:
iload 2
bipush 48
if_icmpeq 8
7: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.skipDigits:()V
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
bipush 46
if_icmpne 13
9: aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
10: aload 0
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
invokevirtual jdk.nashorn.internal.parser.JSONParser.isDigit:(I)Z
ifne 12
11: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
invokevirtual jdk.nashorn.internal.parser.JSONParser.numberError:(I)Ljdk/nashorn/internal/runtime/ParserException;
athrow
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.skipDigits:()V
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
istore 2
14: iload 2
bipush 101
if_icmpeq 15
iload 2
bipush 69
if_icmpne 22
15: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
16: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
istore 2
17: iload 2
bipush 45
if_icmpeq 18
iload 2
bipush 43
if_icmpne 19
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.next:()I
istore 2
19: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual jdk.nashorn.internal.parser.JSONParser.isDigit:(I)Z
ifne 21
20: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
isub
invokevirtual jdk.nashorn.internal.parser.JSONParser.numberError:(I)Ljdk/nashorn/internal/runtime/ParserException;
athrow
21: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.skipDigits:()V
22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.source:Ljava/lang/String;
iload 1
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
dstore 3
start local 3 23: dload 3
invokestatic jdk.nashorn.internal.runtime.JSType.isRepresentableAsInt:(D)Z
ifeq 25
24: dload 3
d2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
25: StackMap locals: double
StackMap stack:
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljdk/nashorn/internal/parser/JSONParser;
1 26 1 start I
2 26 2 c I
23 26 3 d D
private java.lang.Object parseKeyword(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.source:Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.regionMatches:(ILjava/lang/String;II)Z
ifne 2
1: aload 0
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
ldc "json literal"
ldc "ident"
invokevirtual jdk.nashorn.internal.parser.JSONParser.expectedError:(ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 1
invokevirtual java.lang.String.length:()I
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 4 1 keyword Ljava/lang/String;
0 4 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
keyword final
value final
private int peek();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
if_icmplt 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.source:Ljava/lang/String;
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/parser/JSONParser;
private int next();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
istore 1
start local 1 1: aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/parser/JSONParser;
1 3 1 next I
private void skipWhiteSpace();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: goto 5
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.JSONParser.peek:()I
lookupswitch { // 4
9: 2
10: 2
13: 2
32: 2
default: 4
}
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.JSONParser.pos:I
3: goto 5
4: StackMap locals:
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.pos:I
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
if_icmplt 1
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/JSONParser;
private static java.lang.String toString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_m1
if_icmpne 1
ldc "eof"
goto 2
StackMap locals:
StackMap stack:
1: iload 0
i2c
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c I
MethodParameters:
Name Flags
c final
jdk.nashorn.internal.runtime.ParserException error(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljdk/nashorn/internal/runtime/ParserException;
flags: (0x0000)
Code:
stack=9, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic jdk.nashorn.internal.parser.TokenType.STRING:Ljdk/nashorn/internal/parser/TokenType;
iload 2
iload 3
invokestatic jdk.nashorn.internal.parser.Token.toDesc:(Ljdk/nashorn/internal/parser/TokenType;II)J
lstore 4
start local 4 1: lload 4
invokestatic jdk.nashorn.internal.parser.Token.descPosition:(J)I
istore 6
start local 6 2: ldc "<json>"
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.source:Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.Source.sourceFor:(Ljava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/Source;
astore 7
start local 7 3: aload 7
iload 6
invokevirtual jdk.nashorn.internal.runtime.Source.getLine:(I)I
istore 8
start local 8 4: aload 7
iload 6
invokevirtual jdk.nashorn.internal.runtime.Source.getColumn:(I)I
istore 9
start local 9 5: aload 1
aload 7
iload 8
iload 9
lload 4
invokestatic jdk.nashorn.internal.runtime.ErrorManager.format:(Ljava/lang/String;Ljdk/nashorn/internal/runtime/Source;IIJ)Ljava/lang/String;
astore 10
start local 10 6: new jdk.nashorn.internal.runtime.ParserException
dup
getstatic jdk.nashorn.internal.runtime.JSErrorType.SYNTAX_ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
aload 10
aload 7
iload 8
iload 9
lload 4
invokespecial jdk.nashorn.internal.runtime.ParserException.<init>:(Ljdk/nashorn/internal/runtime/JSErrorType;Ljava/lang/String;Ljdk/nashorn/internal/runtime/Source;IIJ)V
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 7 1 message Ljava/lang/String;
0 7 2 start I
0 7 3 length I
1 7 4 token J
2 7 6 pos I
3 7 7 src Ljdk/nashorn/internal/runtime/Source;
4 7 8 lineNum I
5 7 9 columnNum I
6 7 10 formatted Ljava/lang/String;
Exceptions:
throws jdk.nashorn.internal.runtime.ParserException
MethodParameters:
Name Flags
message final
start final
length final
private jdk.nashorn.internal.runtime.ParserException error(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/ParserException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
aload 0
getfield jdk.nashorn.internal.parser.JSONParser.length:I
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;II)Ljdk/nashorn/internal/runtime/ParserException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 1 1 message Ljava/lang/String;
0 1 2 start I
MethodParameters:
Name Flags
message final
start final
private jdk.nashorn.internal.runtime.ParserException numberError(int);
descriptor: (I)Ljdk/nashorn/internal/runtime/ParserException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "json.invalid.number"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.parser.Lexer.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
iload 1
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/ParserException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 1 1 start I
MethodParameters:
Name Flags
start final
private jdk.nashorn.internal.runtime.ParserException expectedError(int, java.lang.String, java.lang.String);
descriptor: (ILjava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "expected"
iconst_2
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
invokestatic jdk.nashorn.internal.parser.AbstractParser.message:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
iload 1
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/ParserException;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 1 1 start I
0 1 2 expected Ljava/lang/String;
0 1 3 found Ljava/lang/String;
MethodParameters:
Name Flags
start final
expected final
found final
private jdk.nashorn.internal.runtime.ParserException syntaxError(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljdk/nashorn/internal/runtime/ParserException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "syntax.error.invalid.json"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.getMessage:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
aload 3
iload 1
invokevirtual jdk.nashorn.internal.parser.JSONParser.error:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/ParserException;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/parser/JSONParser;
0 2 1 start I
0 2 2 reason Ljava/lang/String;
1 2 3 message Ljava/lang/String;
MethodParameters:
Name Flags
start final
reason final
}
SourceFile: "JSONParser.java"