public class jdk.nashorn.internal.parser.Scanner
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nashorn.internal.parser.Scanner
super_class: java.lang.Object
{
protected final char[] content;
descriptor: [C
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected int position;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected final int limit;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected int line;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected char ch0;
descriptor: C
flags: (0x0004) ACC_PROTECTED
protected char ch1;
descriptor: C
flags: (0x0004) ACC_PROTECTED
protected char ch2;
descriptor: C
flags: (0x0004) ACC_PROTECTED
protected char ch3;
descriptor: C
flags: (0x0004) ACC_PROTECTED
protected void <init>(char[], int, int, int);
descriptor: ([CIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.nashorn.internal.parser.Scanner.content:[C
2: aload 0
iload 3
putfield jdk.nashorn.internal.parser.Scanner.position:I
3: aload 0
iload 3
iload 4
iadd
putfield jdk.nashorn.internal.parser.Scanner.limit:I
4: aload 0
iload 2
putfield jdk.nashorn.internal.parser.Scanner.line:I
5: aload 0
aload 0
getfield jdk.nashorn.internal.parser.Scanner.position:I
invokevirtual jdk.nashorn.internal.parser.Scanner.reset:(I)V
6: return
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/Scanner;
0 7 1 content [C
0 7 2 line I
0 7 3 start I
0 7 4 length I
MethodParameters:
Name Flags
content final
line final
start final
length final
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.toCharArray:()[C
iconst_0
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokespecial jdk.nashorn.internal.parser.Scanner.<init>:([CIII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/parser/Scanner;
0 2 1 content Ljava/lang/String;
MethodParameters:
Name Flags
content final
void <init>(jdk.nashorn.internal.parser.Scanner, jdk.nashorn.internal.parser.Scanner$State);
descriptor: (Ljdk/nashorn/internal/parser/Scanner;Ljdk/nashorn/internal/parser/Scanner$State;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield jdk.nashorn.internal.parser.Scanner.content:[C
putfield jdk.nashorn.internal.parser.Scanner.content:[C
2: aload 0
aload 2
getfield jdk.nashorn.internal.parser.Scanner$State.position:I
putfield jdk.nashorn.internal.parser.Scanner.position:I
3: aload 0
aload 2
getfield jdk.nashorn.internal.parser.Scanner$State.limit:I
putfield jdk.nashorn.internal.parser.Scanner.limit:I
4: aload 0
aload 2
getfield jdk.nashorn.internal.parser.Scanner$State.line:I
putfield jdk.nashorn.internal.parser.Scanner.line:I
5: aload 0
aload 0
getfield jdk.nashorn.internal.parser.Scanner.position:I
invokevirtual jdk.nashorn.internal.parser.Scanner.reset:(I)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/Scanner;
0 7 1 scanner Ljdk/nashorn/internal/parser/Scanner;
0 7 2 state Ljdk/nashorn/internal/parser/Scanner$State;
MethodParameters:
Name Flags
scanner final
state final
jdk.nashorn.internal.parser.Scanner$State saveState();
descriptor: ()Ljdk/nashorn/internal/parser/Scanner$State;
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.parser.Scanner$State
dup
aload 0
getfield jdk.nashorn.internal.parser.Scanner.position:I
aload 0
getfield jdk.nashorn.internal.parser.Scanner.limit:I
aload 0
getfield jdk.nashorn.internal.parser.Scanner.line:I
invokespecial jdk.nashorn.internal.parser.Scanner$State.<init>:(III)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/Scanner;
void restoreState(jdk.nashorn.internal.parser.Scanner$State);
descriptor: (Ljdk/nashorn/internal/parser/Scanner$State;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield jdk.nashorn.internal.parser.Scanner$State.position:I
putfield jdk.nashorn.internal.parser.Scanner.position:I
1: aload 0
aload 1
getfield jdk.nashorn.internal.parser.Scanner$State.line:I
putfield jdk.nashorn.internal.parser.Scanner.line:I
2: aload 0
aload 0
getfield jdk.nashorn.internal.parser.Scanner.position:I
invokevirtual jdk.nashorn.internal.parser.Scanner.reset:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/parser/Scanner;
0 4 1 state Ljdk/nashorn/internal/parser/Scanner$State;
MethodParameters:
Name Flags
state final
protected final boolean atEOF();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.Scanner.position:I
aload 0
getfield jdk.nashorn.internal.parser.Scanner.limit:I
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/Scanner;
protected final char charAt(int);
descriptor: (I)C
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield jdk.nashorn.internal.parser.Scanner.limit:I
if_icmpge 1
aload 0
getfield jdk.nashorn.internal.parser.Scanner.content:[C
iload 1
caload
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/parser/Scanner;
0 3 1 i I
MethodParameters:
Name Flags
i final
protected final void reset(int);
descriptor: (I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
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.Scanner.charAt:(I)C
putfield jdk.nashorn.internal.parser.Scanner.ch0:C
1: aload 0
aload 0
iload 1
iconst_1
iadd
invokevirtual jdk.nashorn.internal.parser.Scanner.charAt:(I)C
putfield jdk.nashorn.internal.parser.Scanner.ch1:C
2: aload 0
aload 0
iload 1
iconst_2
iadd
invokevirtual jdk.nashorn.internal.parser.Scanner.charAt:(I)C
putfield jdk.nashorn.internal.parser.Scanner.ch2:C
3: aload 0
aload 0
iload 1
iconst_3
iadd
invokevirtual jdk.nashorn.internal.parser.Scanner.charAt:(I)C
putfield jdk.nashorn.internal.parser.Scanner.ch3:C
4: aload 0
iload 1
aload 0
getfield jdk.nashorn.internal.parser.Scanner.limit:I
if_icmpge 5
iload 1
goto 6
StackMap locals:
StackMap stack: jdk.nashorn.internal.parser.Scanner
5: aload 0
getfield jdk.nashorn.internal.parser.Scanner.limit:I
StackMap locals: jdk.nashorn.internal.parser.Scanner int
StackMap stack: jdk.nashorn.internal.parser.Scanner int
6: putfield jdk.nashorn.internal.parser.Scanner.position:I
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/parser/Scanner;
0 8 1 i I
MethodParameters:
Name Flags
i final
protected final void skip(int);
descriptor: (I)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpne 7
aload 0
invokevirtual jdk.nashorn.internal.parser.Scanner.atEOF:()Z
ifne 7
1: aload 0
aload 0
getfield jdk.nashorn.internal.parser.Scanner.ch1:C
putfield jdk.nashorn.internal.parser.Scanner.ch0:C
2: aload 0
aload 0
getfield jdk.nashorn.internal.parser.Scanner.ch2:C
putfield jdk.nashorn.internal.parser.Scanner.ch1:C
3: aload 0
aload 0
getfield jdk.nashorn.internal.parser.Scanner.ch3:C
putfield jdk.nashorn.internal.parser.Scanner.ch2:C
4: aload 0
aload 0
aload 0
getfield jdk.nashorn.internal.parser.Scanner.position:I
iconst_4
iadd
invokevirtual jdk.nashorn.internal.parser.Scanner.charAt:(I)C
putfield jdk.nashorn.internal.parser.Scanner.ch3:C
5: aload 0
dup
getfield jdk.nashorn.internal.parser.Scanner.position:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.Scanner.position:I
6: goto 9
StackMap locals:
StackMap stack:
7: iload 1
ifeq 9
8: aload 0
aload 0
getfield jdk.nashorn.internal.parser.Scanner.position:I
iload 1
iadd
invokevirtual jdk.nashorn.internal.parser.Scanner.reset:(I)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/parser/Scanner;
0 10 1 n I
MethodParameters:
Name Flags
n final
}
SourceFile: "Scanner.java"
NestMembers:
jdk.nashorn.internal.parser.Scanner$State
InnerClasses:
State = jdk.nashorn.internal.parser.Scanner$State of jdk.nashorn.internal.parser.Scanner