public class com.sun.java_cup.internal.runtime.virtual_parse_stack
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.java_cup.internal.runtime.virtual_parse_stack
super_class: java.lang.Object
{
protected java.util.Stack<com.sun.java_cup.internal.runtime.Symbol> real_stack;
descriptor: Ljava/util/Stack;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Stack<Lcom/sun/java_cup/internal/runtime/Symbol;>;
protected int real_next;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.util.Stack<java.lang.Integer> vstack;
descriptor: Ljava/util/Stack;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Stack<Ljava/lang/Integer;>;
public void <init>(java.util.Stack<com.sun.java_cup.internal.runtime.Symbol>);
descriptor: (Ljava/util/Stack;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 5
2: new java.lang.Exception
dup
3: ldc "Internal parser error: attempt to create null virtual stack"
4: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: com.sun.java_cup.internal.runtime.virtual_parse_stack java.util.Stack
StackMap stack:
aload 0
aload 1
putfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_stack:Ljava/util/Stack;
6: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.java_cup.internal.runtime.virtual_parse_stack.vstack:Ljava/util/Stack;
7: aload 0
iconst_0
putfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_next:I
8: aload 0
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.get_from_real:()V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/java_cup/internal/runtime/virtual_parse_stack;
0 10 1 shadowing_stack Ljava/util/Stack<Lcom/sun/java_cup/internal/runtime/Symbol;>;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/util/Stack<Lcom/sun/java_cup/internal/runtime/Symbol;>;)V
MethodParameters:
Name Flags
shadowing_stack
protected void get_from_real();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_next:I
aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_stack:Ljava/util/Stack;
invokevirtual java.util.Stack.size:()I
if_icmplt 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_stack:Ljava/util/Stack;
aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_stack:Ljava/util/Stack;
invokevirtual java.util.Stack.size:()I
iconst_1
isub
aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_next:I
isub
invokevirtual java.util.Stack.get:(I)Ljava/lang/Object;
checkcast com.sun.java_cup.internal.runtime.Symbol
astore 1
start local 1 2: aload 0
dup
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_next:I
iconst_1
iadd
putfield com.sun.java_cup.internal.runtime.virtual_parse_stack.real_next:I
3: aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.vstack:Ljava/util/Stack;
aload 1
getfield com.sun.java_cup.internal.runtime.Symbol.parse_state:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/java_cup/internal/runtime/virtual_parse_stack;
2 5 1 stack_sym Lcom/sun/java_cup/internal/runtime/Symbol;
public boolean empty();
descriptor: ()Z
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.virtual_parse_stack.vstack:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/java_cup/internal/runtime/virtual_parse_stack;
public int top();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.vstack:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifeq 4
1: new java.lang.Exception
dup
2: ldc "Internal parser error: top() called on empty virtual stack"
3: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.vstack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/java_cup/internal/runtime/virtual_parse_stack;
Exceptions:
throws java.lang.Exception
public void pop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.vstack:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifeq 4
1: new java.lang.Exception
dup
2: ldc "Internal parser error: pop from empty virtual stack"
3: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.vstack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
5: aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.vstack:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifeq 7
6: aload 0
invokevirtual com.sun.java_cup.internal.runtime.virtual_parse_stack.get_from_real:()V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/java_cup/internal/runtime/virtual_parse_stack;
Exceptions:
throws java.lang.Exception
public void push(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.java_cup.internal.runtime.virtual_parse_stack.vstack:Ljava/util/Stack;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/java_cup/internal/runtime/virtual_parse_stack;
0 2 1 state_num I
MethodParameters:
Name Flags
state_num
}
SourceFile: "virtual_parse_stack.java"