public class jdk.nashorn.internal.parser.TokenStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nashorn.internal.parser.TokenStream
super_class: java.lang.Object
{
private static final int INITIAL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 256
private long[] buffer;
descriptor: [J
flags: (0x0002) ACC_PRIVATE
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int in;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int out;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int base;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 256
newarray 11
putfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
2: aload 0
iconst_0
putfield jdk.nashorn.internal.parser.TokenStream.count:I
3: aload 0
iconst_0
putfield jdk.nashorn.internal.parser.TokenStream.in:I
4: aload 0
iconst_0
putfield jdk.nashorn.internal.parser.TokenStream.out:I
5: aload 0
iconst_0
putfield jdk.nashorn.internal.parser.TokenStream.base:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/TokenStream;
private int next(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
iadd
istore 2
start local 2 1: iload 2
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
arraylength
if_icmplt 3
2: iconst_0
istore 2
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/parser/TokenStream;
0 4 1 position I
1 4 2 next I
MethodParameters:
Name Flags
position final
private int index(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.base:I
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.out:I
isub
isub
istore 2
start local 2 1: iload 2
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
arraylength
if_icmplt 3
2: iload 2
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
arraylength
isub
istore 2
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/parser/TokenStream;
0 4 1 k I
1 4 2 index I
MethodParameters:
Name Flags
k final
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/parser/TokenStream;
public boolean isFull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
arraylength
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/parser/TokenStream;
public int count();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/TokenStream;
public int first();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.base:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/TokenStream;
public int last();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.base:I
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
iadd
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/TokenStream;
public void removeLast();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
ifeq 5
1: aload 0
dup
getfield jdk.nashorn.internal.parser.TokenStream.count:I
iconst_1
isub
putfield jdk.nashorn.internal.parser.TokenStream.count:I
2: aload 0
dup
getfield jdk.nashorn.internal.parser.TokenStream.in:I
iconst_1
isub
putfield jdk.nashorn.internal.parser.TokenStream.in:I
3: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.in:I
ifge 5
4: aload 0
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
arraylength
iconst_1
isub
putfield jdk.nashorn.internal.parser.TokenStream.in:I
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/parser/TokenStream;
public void put(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
arraylength
if_icmpne 2
1: aload 0
invokevirtual jdk.nashorn.internal.parser.TokenStream.grow:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.in:I
lload 1
lastore
3: aload 0
dup
getfield jdk.nashorn.internal.parser.TokenStream.count:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.TokenStream.count:I
4: aload 0
aload 0
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.in:I
invokevirtual jdk.nashorn.internal.parser.TokenStream.next:(I)I
putfield jdk.nashorn.internal.parser.TokenStream.in:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/parser/TokenStream;
0 6 1 token J
MethodParameters:
Name Flags
token final
public long get(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
aload 0
iload 1
invokevirtual jdk.nashorn.internal.parser.TokenStream.index:(I)I
laload
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/TokenStream;
0 1 1 k I
MethodParameters:
Name Flags
k final
public void commit(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
iload 1
invokevirtual jdk.nashorn.internal.parser.TokenStream.index:(I)I
putfield jdk.nashorn.internal.parser.TokenStream.out:I
1: aload 0
dup
getfield jdk.nashorn.internal.parser.TokenStream.count:I
iload 1
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.base:I
isub
isub
putfield jdk.nashorn.internal.parser.TokenStream.count:I
2: aload 0
iload 1
putfield jdk.nashorn.internal.parser.TokenStream.base:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/parser/TokenStream;
0 4 1 k I
MethodParameters:
Name Flags
k final
public void grow();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
arraylength
iconst_2
imul
newarray 11
astore 1
start local 1 1: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.in:I
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.out:I
if_icmple 4
2: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.out:I
aload 1
iconst_0
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: goto 7
4: StackMap locals: long[]
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
arraylength
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.out:I
isub
istore 2
start local 2 5: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.out:I
aload 1
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
getfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
iconst_0
aload 1
iload 2
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
iload 2
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 2 7: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.nashorn.internal.parser.TokenStream.out:I
8: aload 0
aload 0
getfield jdk.nashorn.internal.parser.TokenStream.count:I
putfield jdk.nashorn.internal.parser.TokenStream.in:I
9: aload 0
aload 1
putfield jdk.nashorn.internal.parser.TokenStream.buffer:[J
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/parser/TokenStream;
1 11 1 newBuffer [J
5 7 2 portion I
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
aload 0
aload 0
aload 0
iconst_0
dup_x1
putfield jdk.nashorn.internal.parser.TokenStream.base:I
dup_x1
putfield jdk.nashorn.internal.parser.TokenStream.count:I
dup_x1
putfield jdk.nashorn.internal.parser.TokenStream.out:I
putfield jdk.nashorn.internal.parser.TokenStream.in:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/parser/TokenStream;
}
SourceFile: "TokenStream.java"