public class org.jruby.ast.StrNode extends org.jruby.ast.Node implements org.jruby.ast.types.ILiteralNode, org.jruby.ast.SideEffectFree
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.StrNode
super_class: org.jruby.ast.Node
{
private final org.jruby.util.ByteList value;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int codeRange;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean frozen;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.util.ByteList);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/util/ByteList;)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
aload 2
aload 2
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 2
invokestatic org.jruby.util.StringSupport.codeRangeScan:(Lorg/jcodings/Encoding;Lorg/jruby/util/ByteList;)I
invokespecial org.jruby.ast.StrNode.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/util/ByteList;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ast/StrNode;
0 2 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 2 2 value Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
position
value
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.util.ByteList, int);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/util/ByteList;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iconst_0
invokespecial org.jruby.ast.Node.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Z)V
1: aload 0
aload 2
putfield org.jruby.ast.StrNode.value:Lorg/jruby/util/ByteList;
2: aload 0
iload 3
putfield org.jruby.ast.StrNode.codeRange:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ast/StrNode;
0 4 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 4 2 value Lorg/jruby/util/ByteList;
0 4 3 codeRange I
MethodParameters:
Name Flags
position
value
codeRange
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.ast.StrNode, org.jruby.ast.StrNode);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/ast/StrNode;Lorg/jruby/ast/StrNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iconst_0
invokespecial org.jruby.ast.Node.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Z)V
1: aload 2
invokevirtual org.jruby.ast.StrNode.getValue:()Lorg/jruby/util/ByteList;
astore 4
start local 4 2: aload 3
invokevirtual org.jruby.ast.StrNode.getValue:()Lorg/jruby/util/ByteList;
astore 5
start local 5 3: new org.jruby.util.ByteList
dup
aload 4
invokevirtual org.jruby.util.ByteList.getRealSize:()I
aload 5
invokevirtual org.jruby.util.ByteList.getRealSize:()I
iadd
invokespecial org.jruby.util.ByteList.<init>:(I)V
astore 6
start local 6 4: aload 6
aload 4
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jruby.util.ByteList.setEncoding:(Lorg/jcodings/Encoding;)V
5: aload 6
aload 4
invokevirtual org.jruby.util.ByteList.append:(Lorg/jruby/util/ByteList;)V
6: aload 6
aload 5
invokevirtual org.jruby.util.ByteList.append:(Lorg/jruby/util/ByteList;)V
7: aload 0
aload 2
invokevirtual org.jruby.ast.StrNode.isFrozen:()Z
ifeq 8
aload 3
invokevirtual org.jruby.ast.StrNode.isFrozen:()Z
ifeq 8
iconst_1
goto 9
StackMap locals: org.jruby.ast.StrNode org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.StrNode org.jruby.ast.StrNode org.jruby.util.ByteList org.jruby.util.ByteList org.jruby.util.ByteList
StackMap stack: org.jruby.ast.StrNode
8: iconst_0
StackMap locals: org.jruby.ast.StrNode org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.StrNode org.jruby.ast.StrNode org.jruby.util.ByteList org.jruby.util.ByteList org.jruby.util.ByteList
StackMap stack: org.jruby.ast.StrNode int
9: putfield org.jruby.ast.StrNode.frozen:Z
10: aload 0
aload 6
putfield org.jruby.ast.StrNode.value:Lorg/jruby/util/ByteList;
11: aload 0
aload 0
getfield org.jruby.ast.StrNode.value:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 0
getfield org.jruby.ast.StrNode.value:Lorg/jruby/util/ByteList;
invokestatic org.jruby.util.StringSupport.codeRangeScan:(Lorg/jcodings/Encoding;Lorg/jruby/util/ByteList;)I
putfield org.jruby.ast.StrNode.codeRange:I
12: return
end local 6 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 13 0 this Lorg/jruby/ast/StrNode;
0 13 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 13 2 head Lorg/jruby/ast/StrNode;
0 13 3 tail Lorg/jruby/ast/StrNode;
2 13 4 headBL Lorg/jruby/util/ByteList;
3 13 5 tailBL Lorg/jruby/util/ByteList;
4 13 6 myValue Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
position
head
tail
public org.jruby.ast.NodeType getNodeType();
descriptor: ()Lorg/jruby/ast/NodeType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ast.NodeType.STRNODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/StrNode;
public <T> T accept(org.jruby.ast.visitor.NodeVisitor<T>);
descriptor: (Lorg/jruby/ast/visitor/NodeVisitor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.jruby.ast.visitor.NodeVisitor.visitStrNode:(Lorg/jruby/ast/StrNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/StrNode;
0 1 1 iVisitor Lorg/jruby/ast/visitor/NodeVisitor<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/jruby/ast/visitor/NodeVisitor<TT;>;)TT;
MethodParameters:
Name Flags
iVisitor
public org.jruby.util.ByteList getValue();
descriptor: ()Lorg/jruby/util/ByteList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.StrNode.value:Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/StrNode;
public int getCodeRange();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.StrNode.codeRange:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/StrNode;
public java.util.List<org.jruby.ast.Node> childNodes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ast.StrNode.EMPTY_LIST:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/StrNode;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
public boolean isFrozen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.StrNode.frozen:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/StrNode;
public void setFrozen(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.ast.StrNode.frozen:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ast/StrNode;
0 2 1 frozen Z
MethodParameters:
Name Flags
frozen
}
SourceFile: "StrNode.java"