public class org.jruby.ir.operands.NthRef extends org.jruby.ir.operands.Reference
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.operands.NthRef
super_class: org.jruby.ir.operands.Reference
{
public final int matchNumber;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.jruby.ir.IRScope, int);
descriptor: (Lorg/jruby/ir/IRScope;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.ir.IRScope.getManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "$"
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 org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
invokespecial org.jruby.ir.operands.Reference.<init>:(Lorg/jruby/RubySymbol;)V
1: aload 0
iload 2
putfield org.jruby.ir.operands.NthRef.matchNumber:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/NthRef;
0 3 1 scope Lorg/jruby/ir/IRScope;
0 3 2 matchNumber I
MethodParameters:
Name Flags
scope
matchNumber
public org.jruby.ir.operands.OperandType getOperandType();
descriptor: ()Lorg/jruby/ir/operands/OperandType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.operands.OperandType.NTH_REF:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/NthRef;
public java.lang.Object retrieve(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 0
getfield org.jruby.ir.operands.NthRef.matchNumber:I
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.nthMatch:(Lorg/jruby/runtime/ThreadContext;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 1 0 this Lorg/jruby/ir/operands/NthRef;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 currScope Lorg/jruby/parser/StaticScope;
0 1 4 currDynScope Lorg/jruby/runtime/DynamicScope;
0 1 5 temp [Ljava/lang/Object;
MethodParameters:
Name Flags
context
self
currScope
currDynScope
temp
public void encode(org.jruby.ir.persistence.IRWriterEncoder);
descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.operands.NthRef.getOperandType:()Lorg/jruby/ir/operands/OperandType;
invokevirtual org.jruby.ir.operands.OperandType.getCoded:()B
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(B)V
1: aload 1
aload 0
getfield org.jruby.ir.operands.NthRef.matchNumber:I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/NthRef;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.NthRef decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/NthRef;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.jruby.ir.operands.NthRef
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()Lorg/jruby/ir/IRScope;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokespecial org.jruby.ir.operands.NthRef.<init>:(Lorg/jruby/ir/IRScope;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.NthRef:(Lorg/jruby/ir/operands/NthRef;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/NthRef;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "NthRef.java"