class jdk.nashorn.internal.parser.ParserContext
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.parser.ParserContext
super_class: java.lang.Object
{
private jdk.nashorn.internal.parser.ParserContextNode[] stack;
descriptor: [Ljdk/nashorn/internal/parser/ParserContextNode;
flags: (0x0002) ACC_PRIVATE
private int sp;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final int INITIAL_DEPTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/parser/ParserContext;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.parser.ParserContext.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
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
iconst_0
putfield jdk.nashorn.internal.parser.ParserContext.sp:I
2: aload 0
bipush 16
anewarray jdk.nashorn.internal.parser.ParserContextNode
putfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/parser/ParserContext;
public <T extends jdk.nashorn.internal.parser.ParserContextNode> T push();
descriptor: (Ljdk/nashorn/internal/parser/ParserContextNode;)Ljdk/nashorn/internal/parser/ParserContextNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.parser.ParserContext.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
invokevirtual jdk.nashorn.internal.parser.ParserContext.contains:(Ljdk/nashorn/internal/parser/ParserContextNode;)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
arraylength
if_icmpne 5
2: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_2
imul
anewarray jdk.nashorn.internal.parser.ParserContextNode
astore 2
start local 2 3: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
iconst_0
aload 2
iconst_0
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 2
putfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
aload 1
aastore
6: aload 0
dup
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
iadd
putfield jdk.nashorn.internal.parser.ParserContext.sp:I
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 8 1 node TT;
3 5 2 newStack [Ljdk/nashorn/internal/parser/ParserContextNode;
Signature: <T::Ljdk/nashorn/internal/parser/ParserContextNode;>(TT;)TT;
MethodParameters:
Name Flags
node final
public jdk.nashorn.internal.parser.ParserContextNode peek();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
isub
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/ParserContext;
public <T extends jdk.nashorn.internal.parser.ParserContextNode> T pop();
descriptor: (Ljdk/nashorn/internal/parser/ParserContextNode;)Ljdk/nashorn/internal/parser/ParserContextNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
isub
putfield jdk.nashorn.internal.parser.ParserContext.sp:I
1: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
aaload
astore 2
start local 2 2: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
aconst_null
aastore
3: getstatic jdk.nashorn.internal.parser.ParserContext.$assertionsDisabled:Z
ifne 4
aload 1
aload 2
if_acmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: jdk.nashorn.internal.parser.ParserContextNode
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 5 1 node TT;
2 5 2 popped TT;
Signature: <T::Ljdk/nashorn/internal/parser/ParserContextNode;>(TT;)TT;
MethodParameters:
Name Flags
node final
public boolean contains(jdk.nashorn.internal.parser.ParserContextNode);
descriptor: (Ljdk/nashorn/internal/parser/ParserContextNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
iload 2
aaload
aload 1
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
if_icmplt 2
end local 2 6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 7 1 node Ljdk/nashorn/internal/parser/ParserContextNode;
1 6 2 i I
MethodParameters:
Name Flags
node final
private jdk.nashorn.internal.parser.ParserContextBreakableNode getBreakable();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextBreakableNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: new jdk.nashorn.internal.parser.ParserContext$NodeIterator
dup
aload 0
ldc Ljdk/nashorn/internal/parser/ParserContextBreakableNode;
aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext.getCurrentFunction:()Ljdk/nashorn/internal/parser/ParserContextFunctionNode;
invokespecial jdk.nashorn.internal.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;Ljdk/nashorn/internal/parser/ParserContextNode;)V
astore 1
start local 1 1: goto 5
2: StackMap locals: jdk.nashorn.internal.parser.ParserContext$NodeIterator
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.parser.ParserContext$NodeIterator.next:()Ljdk/nashorn/internal/parser/ParserContextNode;
checkcast jdk.nashorn.internal.parser.ParserContextBreakableNode
astore 2
start local 2 3: aload 2
invokeinterface jdk.nashorn.internal.parser.ParserContextBreakableNode.isBreakableWithoutLabel:()Z
ifeq 5
4: aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.parser.ParserContext$NodeIterator.hasNext:()Z
ifne 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/ParserContext;
1 6 1 iter Ljdk/nashorn/internal/parser/ParserContext$NodeIterator<Ljdk/nashorn/internal/parser/ParserContextBreakableNode;>;
3 5 2 next Ljdk/nashorn/internal/parser/ParserContextBreakableNode;
public jdk.nashorn.internal.parser.ParserContextBreakableNode getBreakable(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/parser/ParserContextBreakableNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnull 10
1: aload 0
aload 1
invokevirtual jdk.nashorn.internal.parser.ParserContext.findLabel:(Ljava/lang/String;)Ljdk/nashorn/internal/parser/ParserContextLabelNode;
astore 2
start local 2 2: aload 2
ifnull 9
3: aconst_null
astore 3
start local 3 4: new jdk.nashorn.internal.parser.ParserContext$NodeIterator
dup
aload 0
ldc Ljdk/nashorn/internal/parser/ParserContextBreakableNode;
aload 2
invokespecial jdk.nashorn.internal.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;Ljdk/nashorn/internal/parser/ParserContextNode;)V
astore 4
start local 4 5: goto 7
6: StackMap locals: jdk.nashorn.internal.parser.ParserContextLabelNode jdk.nashorn.internal.parser.ParserContextBreakableNode jdk.nashorn.internal.parser.ParserContext$NodeIterator
StackMap stack:
aload 4
invokevirtual jdk.nashorn.internal.parser.ParserContext$NodeIterator.next:()Ljdk/nashorn/internal/parser/ParserContextNode;
checkcast jdk.nashorn.internal.parser.ParserContextBreakableNode
astore 3
7: StackMap locals:
StackMap stack:
aload 4
invokevirtual jdk.nashorn.internal.parser.ParserContext$NodeIterator.hasNext:()Z
ifne 6
end local 4 8: aload 3
areturn
end local 3 9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 10: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext.getBreakable:()Ljdk/nashorn/internal/parser/ParserContextBreakableNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 11 1 labelName Ljava/lang/String;
2 10 2 foundLabel Ljdk/nashorn/internal/parser/ParserContextLabelNode;
4 9 3 breakable Ljdk/nashorn/internal/parser/ParserContextBreakableNode;
5 8 4 iter Ljdk/nashorn/internal/parser/ParserContext$NodeIterator<Ljdk/nashorn/internal/parser/ParserContextBreakableNode;>;
MethodParameters:
Name Flags
labelName final
public jdk.nashorn.internal.parser.ParserContextLoopNode getCurrentLoop();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextLoopNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new jdk.nashorn.internal.parser.ParserContext$NodeIterator
dup
aload 0
ldc Ljdk/nashorn/internal/parser/ParserContextLoopNode;
aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext.getCurrentFunction:()Ljdk/nashorn/internal/parser/ParserContextFunctionNode;
invokespecial jdk.nashorn.internal.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;Ljdk/nashorn/internal/parser/ParserContextNode;)V
astore 1
start local 1 1: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 2
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.parser.ParserContextLoopNode
goto 3
StackMap locals: java.util.Iterator
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: jdk.nashorn.internal.parser.ParserContextLoopNode
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/parser/ParserContext;
1 4 1 iter Ljava/util/Iterator<Ljdk/nashorn/internal/parser/ParserContextLoopNode;>;
private jdk.nashorn.internal.parser.ParserContextLoopNode getContinueTo();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextLoopNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext.getCurrentLoop:()Ljdk/nashorn/internal/parser/ParserContextLoopNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/ParserContext;
public jdk.nashorn.internal.parser.ParserContextLoopNode getContinueTo(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/parser/ParserContextLoopNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnull 10
1: aload 0
aload 1
invokevirtual jdk.nashorn.internal.parser.ParserContext.findLabel:(Ljava/lang/String;)Ljdk/nashorn/internal/parser/ParserContextLabelNode;
astore 2
start local 2 2: aload 2
ifnull 9
3: aconst_null
astore 3
start local 3 4: new jdk.nashorn.internal.parser.ParserContext$NodeIterator
dup
aload 0
ldc Ljdk/nashorn/internal/parser/ParserContextLoopNode;
aload 2
invokespecial jdk.nashorn.internal.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;Ljdk/nashorn/internal/parser/ParserContextNode;)V
astore 4
start local 4 5: goto 7
6: StackMap locals: jdk.nashorn.internal.parser.ParserContextLabelNode jdk.nashorn.internal.parser.ParserContextLoopNode jdk.nashorn.internal.parser.ParserContext$NodeIterator
StackMap stack:
aload 4
invokevirtual jdk.nashorn.internal.parser.ParserContext$NodeIterator.next:()Ljdk/nashorn/internal/parser/ParserContextNode;
checkcast jdk.nashorn.internal.parser.ParserContextLoopNode
astore 3
7: StackMap locals:
StackMap stack:
aload 4
invokevirtual jdk.nashorn.internal.parser.ParserContext$NodeIterator.hasNext:()Z
ifne 6
end local 4 8: aload 3
areturn
end local 3 9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 10: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext.getContinueTo:()Ljdk/nashorn/internal/parser/ParserContextLoopNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 11 1 labelName Ljava/lang/String;
2 10 2 foundLabel Ljdk/nashorn/internal/parser/ParserContextLabelNode;
4 9 3 loop Ljdk/nashorn/internal/parser/ParserContextLoopNode;
5 8 4 iter Ljdk/nashorn/internal/parser/ParserContext$NodeIterator<Ljdk/nashorn/internal/parser/ParserContextLoopNode;>;
MethodParameters:
Name Flags
labelName final
public jdk.nashorn.internal.parser.ParserContextBlockNode getFunctionBody(jdk.nashorn.internal.parser.ParserContextFunctionNode);
descriptor: (Ljdk/nashorn/internal/parser/ParserContextFunctionNode;)Ljdk/nashorn/internal/parser/ParserContextBlockNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
isub
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
iload 2
aaload
aload 1
if_acmpne 4
3: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
iload 2
iconst_1
iadd
aaload
checkcast jdk.nashorn.internal.parser.ParserContextBlockNode
areturn
4: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
5: iload 2
ifge 2
end local 2 6: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
aload 1
invokevirtual jdk.nashorn.internal.parser.ParserContextFunctionNode.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not on context stack"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 7 1 functionNode Ljdk/nashorn/internal/parser/ParserContextFunctionNode;
1 6 2 i I
MethodParameters:
Name Flags
functionNode final
public jdk.nashorn.internal.parser.ParserContextLabelNode findLabel(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/parser/ParserContextLabelNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new jdk.nashorn.internal.parser.ParserContext$NodeIterator
dup
aload 0
ldc Ljdk/nashorn/internal/parser/ParserContextLabelNode;
aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext.getCurrentFunction:()Ljdk/nashorn/internal/parser/ParserContextFunctionNode;
invokespecial jdk.nashorn.internal.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;Ljdk/nashorn/internal/parser/ParserContextNode;)V
astore 2
start local 2 1: goto 5
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.parser.ParserContextLabelNode
astore 3
start local 3 3: aload 3
invokevirtual jdk.nashorn.internal.parser.ParserContextLabelNode.getLabelName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 7 1 name Ljava/lang/String;
1 6 2 iter Ljava/util/Iterator<Ljdk/nashorn/internal/parser/ParserContextLabelNode;>;
3 5 3 next Ljdk/nashorn/internal/parser/ParserContextLabelNode;
MethodParameters:
Name Flags
name final
public void prependStatementToCurrentNode(jdk.nashorn.internal.ir.Statement);
descriptor: (Ljdk/nashorn/internal/ir/Statement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.parser.ParserContext.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
isub
aaload
aload 1
invokeinterface jdk.nashorn.internal.parser.ParserContextNode.prependStatement:(Ljdk/nashorn/internal/ir/Statement;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 3 1 statement Ljdk/nashorn/internal/ir/Statement;
MethodParameters:
Name Flags
statement final
public void appendStatementToCurrentNode(jdk.nashorn.internal.ir.Statement);
descriptor: (Ljdk/nashorn/internal/ir/Statement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.parser.ParserContext.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
isub
aaload
aload 1
invokeinterface jdk.nashorn.internal.parser.ParserContextNode.appendStatement:(Ljdk/nashorn/internal/ir/Statement;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/parser/ParserContext;
0 3 1 statement Ljdk/nashorn/internal/ir/Statement;
MethodParameters:
Name Flags
statement final
public jdk.nashorn.internal.parser.ParserContextFunctionNode getCurrentFunction();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextFunctionNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
isub
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
iload 1
aaload
instanceof jdk.nashorn.internal.parser.ParserContextFunctionNode
ifeq 4
3: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
iload 1
aaload
checkcast jdk.nashorn.internal.parser.ParserContextFunctionNode
areturn
4: StackMap locals:
StackMap stack:
iinc 1 -1
StackMap locals:
StackMap stack:
5: iload 1
ifge 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/ParserContext;
1 6 1 i I
public java.util.Iterator<jdk.nashorn.internal.parser.ParserContextBlockNode> getBlocks();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.parser.ParserContext$NodeIterator
dup
aload 0
ldc Ljdk/nashorn/internal/parser/ParserContextBlockNode;
invokespecial jdk.nashorn.internal.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/ParserContext;
Signature: ()Ljava/util/Iterator<Ljdk/nashorn/internal/parser/ParserContextBlockNode;>;
public jdk.nashorn.internal.parser.ParserContextBlockNode getCurrentBlock();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextBlockNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext.getBlocks:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.parser.ParserContextBlockNode
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/ParserContext;
public jdk.nashorn.internal.ir.Statement getLastStatement();
descriptor: ()Ljdk/nashorn/internal/ir/Statement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
aload 0
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
isub
aaload
astore 1
start local 1 3: aload 1
invokeinterface jdk.nashorn.internal.parser.ParserContextNode.getStatements:()Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 4: iload 2
ifne 5
aconst_null
goto 6
StackMap locals: jdk.nashorn.internal.parser.ParserContextNode int
StackMap stack:
5: aload 1
invokeinterface jdk.nashorn.internal.parser.ParserContextNode.getStatements:()Ljava/util/List;
iload 2
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Statement
StackMap locals:
StackMap stack: jdk.nashorn.internal.ir.Statement
6: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/parser/ParserContext;
3 7 1 top Ljdk/nashorn/internal/parser/ParserContextNode;
4 7 2 s I
public java.util.Iterator<jdk.nashorn.internal.parser.ParserContextFunctionNode> getFunctions();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.parser.ParserContext$NodeIterator
dup
aload 0
ldc Ljdk/nashorn/internal/parser/ParserContextFunctionNode;
invokespecial jdk.nashorn.internal.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/parser/ParserContext;
Signature: ()Ljava/util/Iterator<Ljdk/nashorn/internal/parser/ParserContextFunctionNode;>;
public jdk.nashorn.internal.parser.ParserContextModuleNode getCurrentModule();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextModuleNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new jdk.nashorn.internal.parser.ParserContext$NodeIterator
dup
aload 0
ldc Ljdk/nashorn/internal/parser/ParserContextModuleNode;
aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext.getCurrentFunction:()Ljdk/nashorn/internal/parser/ParserContextFunctionNode;
invokespecial jdk.nashorn.internal.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;Ljdk/nashorn/internal/parser/ParserContextNode;)V
astore 1
start local 1 1: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 2
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.parser.ParserContextModuleNode
goto 3
StackMap locals: java.util.Iterator
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: jdk.nashorn.internal.parser.ParserContextModuleNode
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/parser/ParserContext;
1 4 1 iter Ljava/util/Iterator<Ljdk/nashorn/internal/parser/ParserContextModuleNode;>;
}
SourceFile: "ParserContext.java"
NestMembers:
jdk.nashorn.internal.parser.ParserContext$NodeIterator
InnerClasses:
private NodeIterator = jdk.nashorn.internal.parser.ParserContext$NodeIterator of jdk.nashorn.internal.parser.ParserContext