public abstract class com.sun.java_cup.internal.runtime.lr_parser
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.java_cup.internal.runtime.lr_parser
super_class: java.lang.Object
{
protected static final int _error_sync_size;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
protected boolean _done_parsing;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected int tos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected com.sun.java_cup.internal.runtime.Symbol cur_token;
descriptor: Lcom/sun/java_cup/internal/runtime/Symbol;
flags: (0x0004) ACC_PROTECTED
protected java.util.Stack stack;
descriptor: Ljava/util/Stack;
flags: (0x0004) ACC_PROTECTED
protected short[][] production_tab;
descriptor: [[S
flags: (0x0004) ACC_PROTECTED
protected short[][] action_tab;
descriptor: [[S
flags: (0x0004) ACC_PROTECTED
protected short[][] reduce_tab;
descriptor: [[S
flags: (0x0004) ACC_PROTECTED
private com.sun.java_cup.internal.runtime.Scanner _scanner;
descriptor: Lcom/sun/java_cup/internal/runtime/Scanner;
flags: (0x0002) ACC_PRIVATE
protected com.sun.java_cup.internal.runtime.Symbol[] lookahead;
descriptor: [Lcom/sun/java_cup/internal/runtime/Symbol;
flags: (0x0004) ACC_PROTECTED
protected int lookahead_pos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.lr_parser._done_parsing:Z
2: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
public void <init>(com.sun.java_cup.internal.runtime.Scanner);
descriptor: (Lcom/sun/java_cup/internal/runtime/Scanner;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.java_cup.internal.runtime.lr_parser.<init>:()V
1: aload 0
aload 1
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.setScanner:(Lcom/sun/java_cup/internal/runtime/Scanner;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 3 1 s Lcom/sun/java_cup/internal/runtime/Scanner;
MethodParameters:
Name Flags
s
protected int error_sync_size();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_3
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
public abstract short[][] production_table();
descriptor: ()[[S
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract short[][] action_table();
descriptor: ()[[S
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract short[][] reduce_table();
descriptor: ()[[S
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int start_state();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int start_production();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int EOF_sym();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int error_sym();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void done_parsing();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.sun.java_cup.internal.runtime.lr_parser._done_parsing:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
public void setScanner(com.sun.java_cup.internal.runtime.Scanner);
descriptor: (Lcom/sun/java_cup/internal/runtime/Scanner;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.java_cup.internal.runtime.lr_parser._scanner:Lcom/sun/java_cup/internal/runtime/Scanner;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 1 1 s Lcom/sun/java_cup/internal/runtime/Scanner;
MethodParameters:
Name Flags
s
public com.sun.java_cup.internal.runtime.Scanner getScanner();
descriptor: ()Lcom/sun/java_cup/internal/runtime/Scanner;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser._scanner:Lcom/sun/java_cup/internal/runtime/Scanner;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
public abstract com.sun.java_cup.internal.runtime.Symbol do_action(int, com.sun.java_cup.internal.runtime.lr_parser, java.util.Stack, int);
descriptor: (ILcom/sun/java_cup/internal/runtime/lr_parser;Ljava/util/Stack;I)Lcom/sun/java_cup/internal/runtime/Symbol;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
act_num
parser
stack
top
public void user_init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
Exceptions:
throws java.lang.Exception
protected abstract void init_actions();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
public com.sun.java_cup.internal.runtime.Symbol scan();
descriptor: ()Lcom/sun/java_cup/internal/runtime/Symbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.getScanner:()Lcom/sun/java_cup/internal/runtime/Scanner;
invokeinterface com.sun.java_cup.internal.runtime.Scanner.next_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
Exceptions:
throws java.lang.Exception
public void report_fatal_error(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.done_parsing:()V
1: aload 0
aload 1
aload 2
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.report_error:(Ljava/lang/String;Ljava/lang/Object;)V
2: new java.lang.Exception
dup
ldc "Can't recover from previous error(s)"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 3 1 message Ljava/lang/String;
0 3 2 info Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
message
info
public void report_error(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: aload 2
instanceof com.sun.java_cup.internal.runtime.Symbol
ifeq 8
2: aload 2
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.left:I
iconst_m1
if_icmpeq 7
3: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " at character "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.left:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc " of input"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: goto 9
7: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc ""
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
goto 9
8: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc ""
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 10 1 message Ljava/lang/String;
0 10 2 info Ljava/lang/Object;
MethodParameters:
Name Flags
message
info
public void syntax_error(com.sun.java_cup.internal.runtime.Symbol);
descriptor: (Lcom/sun/java_cup/internal/runtime/Symbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "Syntax error"
aload 1
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.report_error:(Ljava/lang/String;Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 2 1 cur_token Lcom/sun/java_cup/internal/runtime/Symbol;
MethodParameters:
Name Flags
cur_token
public void unrecovered_syntax_error(com.sun.java_cup.internal.runtime.Symbol);
descriptor: (Lcom/sun/java_cup/internal/runtime/Symbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "Couldn't repair and continue parse"
aload 1
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.report_fatal_error:(Ljava/lang/String;Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 2 1 cur_token Lcom/sun/java_cup/internal/runtime/Symbol;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
cur_token
protected final short get_action(int, int);
descriptor: (II)S
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.action_tab:[[S
iload 1
aaload
astore 7
start local 7 1: aload 7
arraylength
bipush 20
if_icmpge 10
2: iconst_0
istore 6
start local 6 3: goto 8
4: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top top top int short[]
StackMap stack:
aload 7
iload 6
iinc 6 1
saload
istore 3
start local 3 5: iload 3
iload 2
if_icmpeq 6
iload 3
iconst_m1
if_icmpne 7
6: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int int top top int short[]
StackMap stack:
aload 7
iload 6
saload
ireturn
7: StackMap locals:
StackMap stack:
iinc 6 1
end local 3 StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top top top int short[]
StackMap stack:
8: iload 6
aload 7
arraylength
if_icmplt 4
9: goto 21
end local 6 10: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top top top top short[]
StackMap stack:
iconst_0
istore 4
start local 4 11: aload 7
arraylength
iconst_1
isub
iconst_2
idiv
iconst_1
isub
istore 5
start local 5 12: goto 19
13: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top int int top short[]
StackMap stack:
iload 4
iload 5
iadd
iconst_2
idiv
istore 6
start local 6 14: iload 2
aload 7
iload 6
iconst_2
imul
saload
if_icmpne 16
15: aload 7
iload 6
iconst_2
imul
iconst_1
iadd
saload
ireturn
16: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top int int int short[]
StackMap stack:
iload 2
aload 7
iload 6
iconst_2
imul
saload
if_icmple 18
17: iload 6
iconst_1
iadd
istore 4
goto 19
18: StackMap locals:
StackMap stack:
iload 6
iconst_1
isub
istore 5
end local 6 19: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top int int top short[]
StackMap stack:
iload 4
iload 5
if_icmple 13
20: aload 7
aload 7
arraylength
iconst_1
isub
saload
ireturn
end local 5 end local 4 start local 6 21: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top top top int short[]
StackMap stack:
iconst_0
ireturn
end local 7 end local 6 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 22 1 state I
0 22 2 sym I
5 8 3 tag S
11 21 4 first I
12 21 5 last I
3 10 6 probe I
14 19 6 probe I
21 22 6 probe I
1 22 7 row [S
MethodParameters:
Name Flags
state
sym
protected final short get_reduce(int, int);
descriptor: (II)S
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.reduce_tab:[[S
iload 1
aaload
astore 4
start local 4 1: aload 4
ifnonnull 3
2: iconst_m1
ireturn
3: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top short[]
StackMap stack:
iconst_0
istore 5
start local 5 4: goto 9
5: StackMap locals: int
StackMap stack:
aload 4
iload 5
iinc 5 1
saload
istore 3
start local 3 6: iload 3
iload 2
if_icmpeq 7
iload 3
iconst_m1
if_icmpne 8
7: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int int short[] int
StackMap stack:
aload 4
iload 5
saload
ireturn
8: StackMap locals:
StackMap stack:
iinc 5 1
end local 3 StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top short[] int
StackMap stack:
9: iload 5
aload 4
arraylength
if_icmplt 5
end local 5 10: iconst_m1
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 11 1 state I
0 11 2 sym I
6 9 3 tag S
1 11 4 row [S
4 10 5 probe I
MethodParameters:
Name Flags
state
sym
public com.sun.java_cup.internal.runtime.Symbol parse();
descriptor: ()Lcom/sun/java_cup/internal/runtime/Symbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aconst_null
astore 2
start local 2 1: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.production_table:()[[S
putfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
2: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.action_table:()[[S
putfield com.sun.java_cup.internal.runtime.lr_parser.action_tab:[[S
3: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.reduce_table:()[[S
putfield com.sun.java_cup.internal.runtime.lr_parser.reduce_tab:[[S
4: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.init_actions:()V
5: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.user_init:()V
6: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.scan:()Lcom/sun/java_cup/internal/runtime/Symbol;
putfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
7: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.removeAllElements:()V
8: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
new com.sun.java_cup.internal.runtime.Symbol
dup
iconst_0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.start_state:()I
invokespecial com.sun.java_cup.internal.runtime.Symbol.<init>:(II)V
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
10: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.lr_parser._done_parsing:Z
goto 44
11: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser top com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
ifeq 13
12: new java.lang.Error
dup
ldc "Symbol recycling detected (fix your scanner)."
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_action:(II)S
istore 1
start local 1 14: iload 1
ifle 21
15: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
iload 1
iconst_1
isub
putfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
16: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
iconst_1
putfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
17: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
19: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.scan:()Lcom/sun/java_cup/internal/runtime/Symbol;
putfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
20: goto 44
21: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
iload 1
ifge 37
22: aload 0
iload 1
ineg
iconst_1
isub
aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.do_action:(ILcom/sun/java_cup/internal/runtime/lr_parser;Ljava/util/Stack;I)Lcom/sun/java_cup/internal/runtime/Symbol;
astore 2
23: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
iload 1
ineg
iconst_1
isub
aaload
iconst_0
saload
istore 4
start local 4 24: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
iload 1
ineg
iconst_1
isub
aaload
iconst_1
saload
istore 3
start local 3 25: iconst_0
istore 5
start local 5 26: goto 30
27: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
28: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
isub
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
29: iinc 5 1
StackMap locals:
StackMap stack:
30: iload 5
iload 3
if_icmplt 27
end local 5 31: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
iload 4
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_reduce:(II)S
istore 1
32: aload 2
iload 1
putfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
33: aload 2
iconst_1
putfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
34: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 2
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
35: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
36: goto 44
end local 4 end local 3 37: StackMap locals:
StackMap stack:
iload 1
ifne 44
38: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.syntax_error:(Lcom/sun/java_cup/internal/runtime/Symbol;)V
39: aload 0
iconst_0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_recovery:(Z)Z
ifne 43
40: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.unrecovered_syntax_error:(Lcom/sun/java_cup/internal/runtime/Symbol;)V
41: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.done_parsing:()V
42: goto 44
43: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
astore 2
end local 1 44: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser top com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser._done_parsing:Z
ifeq 11
45: aload 2
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
14 44 1 act I
1 46 2 lhs_sym Lcom/sun/java_cup/internal/runtime/Symbol;
25 37 3 handle_size S
24 37 4 lhs_sym_num S
26 31 5 i I
Exceptions:
throws java.lang.Exception
public void debug_message(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 2 1 mess Ljava/lang/String;
MethodParameters:
Name Flags
mess
public void dump_stack();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
ifnonnull 3
1: aload 0
ldc "# Stack dump requested, but stack is null"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
ldc "============ Parse Stack Dump ============"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
4: iconst_0
istore 1
start local 1 5: goto 10
6: StackMap locals: int
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Symbol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
iload 1
invokevirtual java.util.Stack.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
7: ldc " State: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
iload 1
invokevirtual java.util.Stack.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
9: iinc 1 1
StackMap locals:
StackMap stack:
10: iload 1
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.size:()I
if_icmplt 6
end local 1 11: aload 0
ldc "=========================================="
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
5 11 1 i I
public void debug_reduce(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new java.lang.StringBuilder
dup
ldc "# Reduce with prod #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " [NT="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "SZ="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 4 1 prod_num I
0 4 2 nt_num I
0 4 3 rhs_size I
MethodParameters:
Name Flags
prod_num
nt_num
rhs_size
public void debug_shift(com.sun.java_cup.internal.runtime.Symbol);
descriptor: (Lcom/sun/java_cup/internal/runtime/Symbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.StringBuilder
dup
ldc "# Shift under term #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc " to state #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 4 1 shift_tkn Lcom/sun/java_cup/internal/runtime/Symbol;
MethodParameters:
Name Flags
shift_tkn
public void debug_stack();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
ldc "## STACK:"
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 9
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
iload 2
invokevirtual java.util.Stack.elementAt:(I)Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
astore 3
start local 3 4: aload 1
new java.lang.StringBuilder
dup
ldc " <state "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", sym "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: iload 2
iconst_3
irem
iconst_2
if_icmpeq 6
iload 2
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.size:()I
iconst_1
isub
if_icmpne 8
6: StackMap locals: com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
7: new java.lang.StringBuffer
dup
ldc " "
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.size:()I
if_icmplt 3
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
1 11 1 sb Ljava/lang/StringBuffer;
2 10 2 i I
4 8 3 s Lcom/sun/java_cup/internal/runtime/Symbol;
public com.sun.java_cup.internal.runtime.Symbol debug_parse();
descriptor: ()Lcom/sun/java_cup/internal/runtime/Symbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aconst_null
astore 2
start local 2 1: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.production_table:()[[S
putfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
2: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.action_table:()[[S
putfield com.sun.java_cup.internal.runtime.lr_parser.action_tab:[[S
3: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.reduce_table:()[[S
putfield com.sun.java_cup.internal.runtime.lr_parser.reduce_tab:[[S
4: aload 0
ldc "# Initializing parser"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
5: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.init_actions:()V
6: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.user_init:()V
7: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.scan:()Lcom/sun/java_cup/internal/runtime/Symbol;
putfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
8: aload 0
new java.lang.StringBuilder
dup
ldc "# Current Symbol is #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
9: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.removeAllElements:()V
10: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
new com.sun.java_cup.internal.runtime.Symbol
dup
iconst_0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.start_state:()I
invokespecial com.sun.java_cup.internal.runtime.Symbol.<init>:(II)V
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
12: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.lr_parser._done_parsing:Z
goto 54
13: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser top com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
ifeq 15
14: new java.lang.Error
dup
ldc "Symbol recycling detected (fix your scanner)."
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_action:(II)S
istore 1
start local 1 16: iload 1
ifle 25
17: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
iload 1
iconst_1
isub
putfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
18: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
iconst_1
putfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
19: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_shift:(Lcom/sun/java_cup/internal/runtime/Symbol;)V
20: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
21: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
22: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.scan:()Lcom/sun/java_cup/internal/runtime/Symbol;
putfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
23: aload 0
new java.lang.StringBuilder
dup
ldc "# Current token is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
24: goto 54
25: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
iload 1
ifge 47
26: aload 0
iload 1
ineg
iconst_1
isub
aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.do_action:(ILcom/sun/java_cup/internal/runtime/lr_parser;Ljava/util/Stack;I)Lcom/sun/java_cup/internal/runtime/Symbol;
astore 2
27: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
iload 1
ineg
iconst_1
isub
aaload
iconst_0
saload
istore 4
start local 4 28: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
iload 1
ineg
iconst_1
isub
aaload
iconst_1
saload
istore 3
start local 3 29: aload 0
iload 1
ineg
iconst_1
isub
iload 4
iload 3
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_reduce:(III)V
30: iconst_0
istore 5
start local 5 31: goto 35
32: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
33: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
isub
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
34: iinc 5 1
StackMap locals:
StackMap stack:
35: iload 5
iload 3
if_icmplt 32
end local 5 36: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
iload 4
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_reduce:(II)S
istore 1
37: aload 0
new java.lang.StringBuilder
dup
ldc "# Reduce rule: top state "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
38: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
39: ldc ", lhs sym "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " -> state "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
40: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
41: aload 2
iload 1
putfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
42: aload 2
iconst_1
putfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
43: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 2
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
44: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
45: aload 0
new java.lang.StringBuilder
dup
ldc "# Goto state #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
46: goto 54
end local 4 end local 3 47: StackMap locals:
StackMap stack:
iload 1
ifne 54
48: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.syntax_error:(Lcom/sun/java_cup/internal/runtime/Symbol;)V
49: aload 0
iconst_1
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_recovery:(Z)Z
ifne 53
50: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.unrecovered_syntax_error:(Lcom/sun/java_cup/internal/runtime/Symbol;)V
51: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.done_parsing:()V
52: goto 54
53: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
astore 2
end local 1 54: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser top com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser._done_parsing:Z
ifeq 13
55: aload 2
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
16 54 1 act I
1 56 2 lhs_sym Lcom/sun/java_cup/internal/runtime/Symbol;
29 47 3 handle_size S
28 47 4 lhs_sym_num S
31 36 5 i I
Exceptions:
throws java.lang.Exception
protected boolean error_recovery(boolean);
descriptor: (Z)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
aload 0
ldc "# Attempting error recovery"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.find_recovery_config:(Z)Z
ifne 4
2: iload 1
ifeq 3
aload 0
ldc "# Error recovery fails"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.read_lookahead:()V
5: StackMap locals:
StackMap stack:
iload 1
ifeq 6
aload 0
ldc "# Trying to parse ahead"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.try_parse_ahead:(Z)Z
ifeq 8
7: goto 15
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead:[Lcom/sun/java_cup/internal/runtime/Symbol;
iconst_0
aaload
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.EOF_sym:()I
if_icmpne 11
9: iload 1
ifeq 10
aload 0
ldc "# Error recovery fails at EOF"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iload 1
ifeq 13
12: aload 0
new java.lang.StringBuilder
dup
ldc "# Consuming Symbol #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.restart_lookahead:()V
14: goto 5
15: StackMap locals:
StackMap stack:
iload 1
ifeq 16
aload 0
ldc "# Parse-ahead ok, going back to normal parse"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.parse_lookahead:(Z)V
17: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 18 1 debug Z
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
debug
protected boolean shift_under_error();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_sym:()I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_action:(II)S
ifle 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 Lcom/sun/java_cup/internal/runtime/lr_parser;
protected boolean find_recovery_config(boolean);
descriptor: (Z)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
aload 0
ldc "# Finding recovery state on stack"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.right:I
istore 4
start local 4 2: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.left:I
istore 5
start local 5 3: goto 13
4: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int top top int int
StackMap stack:
iload 1
ifeq 8
5: aload 0
new java.lang.StringBuilder
dup
ldc "# Pop stack by one, state was # "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.left:I
istore 5
9: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
isub
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
10: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifeq 13
11: iload 1
ifeq 12
aload 0
ldc "# No recovery state found on stack"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.shift_under_error:()Z
ifeq 4
14: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_sym:()I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_action:(II)S
istore 3
start local 3 15: iload 1
ifeq 20
16: aload 0
new java.lang.StringBuilder
dup
ldc "# Recover state found (#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
19: aload 0
new java.lang.StringBuilder
dup
ldc "# Shifting on error to state #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
iconst_1
isub
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
20: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int top int int int
StackMap stack:
new com.sun.java_cup.internal.runtime.Symbol
dup
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_sym:()I
iload 5
iload 4
invokespecial com.sun.java_cup.internal.runtime.Symbol.<init>:(III)V
astore 2
start local 2 21: aload 2
iload 3
iconst_1
isub
putfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
22: aload 2
iconst_1
putfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
23: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 2
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
24: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
25: iconst_1
ireturn
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 26 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 26 1 debug Z
21 26 2 error_token Lcom/sun/java_cup/internal/runtime/Symbol;
15 26 3 act I
2 26 4 right_pos I
3 26 5 left_pos I
MethodParameters:
Name Flags
debug
protected void read_lookahead();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_sync_size:()I
anewarray com.sun.java_cup.internal.runtime.Symbol
putfield com.sun.java_cup.internal.runtime.lr_parser.lookahead:[Lcom/sun/java_cup/internal/runtime/Symbol;
1: iconst_0
istore 1
start local 1 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead:[Lcom/sun/java_cup/internal/runtime/Symbol;
iload 1
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
aastore
4: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.scan:()Lcom/sun/java_cup/internal/runtime/Symbol;
putfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_sync_size:()I
if_icmplt 3
end local 1 7: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.lr_parser.lookahead_pos:I
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
2 7 1 i I
Exceptions:
throws java.lang.Exception
protected com.sun.java_cup.internal.runtime.Symbol cur_err_token();
descriptor: ()Lcom/sun/java_cup/internal/runtime/Symbol;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead:[Lcom/sun/java_cup/internal/runtime/Symbol;
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead_pos:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
protected boolean advance_lookahead();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead_pos:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.lr_parser.lookahead_pos:I
1: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead_pos:I
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_sync_size:()I
if_icmpge 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
protected void restart_lookahead();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead:[Lcom/sun/java_cup/internal/runtime/Symbol;
iload 1
iconst_1
isub
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead:[Lcom/sun/java_cup/internal/runtime/Symbol;
iload 1
aaload
aastore
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_sync_size:()I
if_icmplt 2
end local 1 5: aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.scan:()Lcom/sun/java_cup/internal/runtime/Symbol;
putfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
6: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.lookahead:[Lcom/sun/java_cup/internal/runtime/Symbol;
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.error_sync_size:()I
iconst_1
isub
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.cur_token:Lcom/sun/java_cup/internal/runtime/Symbol;
aastore
7: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.lr_parser.lookahead_pos:I
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
1 5 1 i I
Exceptions:
throws java.lang.Exception
protected boolean try_parse_ahead(boolean);
descriptor: (Z)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new com.sun.java_cup.internal.runtime.virtual_parse_stack
dup
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokespecial com.sun.java_cup.internal.runtime.virtual_parse_stack.<init>:(Ljava/util/Stack;)V
astore 5
start local 5 1: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int top top top com.sun.java_cup.internal.runtime.virtual_parse_stack
StackMap stack:
aload 0
aload 5
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.top:()I
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_action:(II)S
istore 2
start local 2 2: iload 2
ifne 3
iconst_0
ireturn
3: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int top top com.sun.java_cup.internal.runtime.virtual_parse_stack
StackMap stack:
iload 2
ifle 9
4: aload 5
iload 2
iconst_1
isub
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.push:(I)V
5: iload 1
ifeq 8
aload 0
new java.lang.StringBuilder
dup
ldc "# Parse-ahead shifts Symbol #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " into state #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
iconst_1
isub
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.advance_lookahead:()Z
ifne 1
iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iload 2
ineg
iconst_1
isub
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.start_production:()I
if_icmpne 12
10: iload 1
ifeq 11
aload 0
ldc "# Parse-ahead accepts"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
iload 2
ineg
iconst_1
isub
aaload
iconst_0
saload
istore 3
start local 3 13: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
iload 2
ineg
iconst_1
isub
aaload
iconst_1
saload
istore 4
start local 4 14: iconst_0
istore 6
start local 6 15: goto 18
16: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int int int com.sun.java_cup.internal.runtime.virtual_parse_stack int
StackMap stack:
aload 5
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.pop:()V
17: iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 4
if_icmplt 16
end local 6 19: iload 1
ifeq 23
20: aload 0
new java.lang.StringBuilder
dup
ldc "# Parse-ahead reduces: handle size = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " lhs = #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " from state #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.top:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
aload 5
aload 0
aload 5
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.top:()I
iload 3
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_reduce:(II)S
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.push:(I)V
24: iload 1
ifeq 1
25: aload 0
new java.lang.StringBuilder
dup
ldc "# Goto state #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.top:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
end local 4 end local 3 end local 2 26: goto 1
end local 5 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 27 1 debug Z
2 26 2 act I
13 26 3 lhs S
14 26 4 rhs_size S
1 27 5 vstack Lcom/sun/java_cup/internal/runtime/virtual_parse_stack;
15 19 6 i I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
debug
protected void parse_lookahead(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 3
start local 3 1: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.lr_parser.lookahead_pos:I
2: iload 1
ifeq 44
3: aload 0
ldc "# Reparsing saved input with actions"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
4: aload 0
new java.lang.StringBuilder
dup
ldc "# Current Symbol is #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
5: aload 0
new java.lang.StringBuilder
dup
ldc "# Current state is #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
8: goto 44
9: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int top com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_action:(II)S
10: istore 2
start local 2 11: iload 2
ifle 23
12: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
iload 2
iconst_1
isub
putfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
13: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
iconst_1
putfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
14: iload 1
ifeq 15
aload 0
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_shift:(Lcom/sun/java_cup/internal/runtime/Symbol;)V
15: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int int com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
17: aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.advance_lookahead:()Z
ifne 20
18: iload 1
ifeq 19
aload 0
ldc "# Completed reparse"
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
return
20: StackMap locals:
StackMap stack:
iload 1
ifeq 44
21: aload 0
new java.lang.StringBuilder
dup
ldc "# Current Symbol is #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.cur_err_token:()Lcom/sun/java_cup/internal/runtime/Symbol;
getfield com.sun.java_cup.internal.runtime.Symbol.sym:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
22: goto 44
23: StackMap locals:
StackMap stack:
iload 2
ifge 41
24: aload 0
iload 2
ineg
iconst_1
isub
aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.do_action:(ILcom/sun/java_cup/internal/runtime/lr_parser;Ljava/util/Stack;I)Lcom/sun/java_cup/internal/runtime/Symbol;
astore 3
25: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
iload 2
ineg
iconst_1
isub
aaload
iconst_0
saload
istore 5
start local 5 26: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.production_tab:[[S
iload 2
ineg
iconst_1
isub
aaload
iconst_1
saload
istore 4
start local 4 27: iload 1
ifeq 28
aload 0
iload 2
ineg
iconst_1
isub
iload 5
iload 4
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_reduce:(III)V
28: StackMap locals: int int
StackMap stack:
iconst_0
istore 6
start local 6 29: goto 33
30: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
31: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
isub
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
32: iinc 6 1
StackMap locals:
StackMap stack:
33: iload 6
iload 4
if_icmplt 30
end local 6 34: aload 0
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
iload 5
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.get_reduce:(II)S
istore 2
35: aload 3
iload 2
putfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
36: aload 3
iconst_1
putfield com.sun.java_cup.internal.runtime.Symbol.used_by_parser:Z
37: aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser.stack:Ljava/util/Stack;
aload 3
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
38: aload 0
dup
getfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.lr_parser.tos:I
39: iload 1
ifeq 44
aload 0
new java.lang.StringBuilder
dup
ldc "# Goto state #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.debug_message:(Ljava/lang/String;)V
40: goto 44
end local 5 end local 4 41: StackMap locals:
StackMap stack:
iload 2
ifne 44
42: aload 0
ldc "Syntax error"
aload 3
invokevirtual com.sun.java_cup.internal.runtime.lr_parser.report_fatal_error:(Ljava/lang/String;Ljava/lang/Object;)V
43: return
end local 2 44: StackMap locals: com.sun.java_cup.internal.runtime.lr_parser int top com.sun.java_cup.internal.runtime.Symbol
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.lr_parser._done_parsing:Z
ifeq 9
45: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lcom/sun/java_cup/internal/runtime/lr_parser;
0 46 1 debug Z
11 44 2 act I
1 46 3 lhs_sym Lcom/sun/java_cup/internal/runtime/Symbol;
27 41 4 handle_size S
26 41 5 lhs_sym_num S
29 34 6 i I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
debug
protected static short[][] unpackFromStrings(java.lang.String[]);
descriptor: ([Ljava/lang/String;)[[S
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
aload 0
iconst_0
aaload
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 1
aload 0
iload 2
aaload
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: iconst_0
istore 2
start local 2 7: aload 1
iload 2
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 16
ishl
aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.StringBuffer.charAt:(I)C
ior
istore 3
start local 3 8: iinc 2 2
9: iload 3
anewarray short[]
astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: goto 21
12: StackMap locals: int short[][] int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 16
ishl
aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.StringBuffer.charAt:(I)C
ior
istore 6
start local 6 13: iinc 2 2
14: aload 4
iload 5
iload 6
newarray 9
aastore
15: iconst_0
istore 7
start local 7 16: goto 19
17: StackMap locals: int int
StackMap stack:
aload 4
iload 5
aaload
iload 7
aload 1
iload 2
iinc 2 1
invokevirtual java.lang.StringBuffer.charAt:(I)C
iconst_2
isub
i2s
sastore
18: iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
iload 6
if_icmplt 17
end local 7 end local 6 20: iinc 5 1
StackMap locals:
StackMap stack:
21: iload 5
iload 3
if_icmplt 12
end local 5 22: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 sa [Ljava/lang/String;
1 23 1 sb Ljava/lang/StringBuffer;
2 6 2 i I
7 23 2 n I
8 23 3 size1 I
10 23 4 result [[S
11 22 5 i I
13 20 6 size2 I
16 20 7 j I
MethodParameters:
Name Flags
sa
}
SourceFile: "lr_parser.java"