public class org.jruby.ast.RootNode extends org.jruby.ast.Node implements org.jruby.ParseResult
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.RootNode
super_class: org.jruby.ast.Node
{
private transient org.jruby.runtime.DynamicScope scope;
descriptor: Lorg/jruby/runtime/DynamicScope;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private org.jruby.parser.StaticScope staticScope;
descriptor: Lorg/jruby/parser/StaticScope;
flags: (0x0002) ACC_PRIVATE
private org.jruby.ast.Node bodyNode;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0002) ACC_PRIVATE
private java.lang.String file;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int endPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean needsCodeCoverage;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.runtime.DynamicScope, org.jruby.ast.Node, java.lang.String);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/ast/Node;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
iconst_m1
iconst_0
invokespecial org.jruby.ast.RootNode.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/ast/Node;Ljava/lang/String;IZ)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ast/RootNode;
0 2 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 2 2 scope Lorg/jruby/runtime/DynamicScope;
0 2 3 bodyNode Lorg/jruby/ast/Node;
0 2 4 file Ljava/lang/String;
MethodParameters:
Name Flags
position
scope
bodyNode
file
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.runtime.DynamicScope, org.jruby.ast.Node, java.lang.String, int, boolean);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/ast/Node;Ljava/lang/String;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 3
invokevirtual org.jruby.ast.Node.containsVariableAssignment:()Z
invokespecial org.jruby.ast.Node.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Z)V
1: aload 0
aload 2
putfield org.jruby.ast.RootNode.scope:Lorg/jruby/runtime/DynamicScope;
2: aload 0
aload 2
invokevirtual org.jruby.runtime.DynamicScope.getStaticScope:()Lorg/jruby/parser/StaticScope;
putfield org.jruby.ast.RootNode.staticScope:Lorg/jruby/parser/StaticScope;
3: aload 0
aload 3
putfield org.jruby.ast.RootNode.bodyNode:Lorg/jruby/ast/Node;
4: aload 0
aload 4
putfield org.jruby.ast.RootNode.file:Ljava/lang/String;
5: aload 0
iload 5
putfield org.jruby.ast.RootNode.endPosition:I
6: aload 0
iload 6
putfield org.jruby.ast.RootNode.needsCodeCoverage:Z
7: 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 8 0 this Lorg/jruby/ast/RootNode;
0 8 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 8 2 scope Lorg/jruby/runtime/DynamicScope;
0 8 3 bodyNode Lorg/jruby/ast/Node;
0 8 4 file Ljava/lang/String;
0 8 5 endPosition I
0 8 6 needsCodeCoverage Z
MethodParameters:
Name Flags
position
scope
bodyNode
file
endPosition
needsCodeCoverage
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.runtime.DynamicScope, org.jruby.ast.Node, java.lang.String, int);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/ast/Node;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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 0
aload 1
aload 2
aload 3
aload 4
iload 5
iconst_0
invokespecial org.jruby.ast.RootNode.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/ast/Node;Ljava/lang/String;IZ)V
1: return
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 2 0 this Lorg/jruby/ast/RootNode;
0 2 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 2 2 scope Lorg/jruby/runtime/DynamicScope;
0 2 3 bodyNode Lorg/jruby/ast/Node;
0 2 4 file Ljava/lang/String;
0 2 5 endPosition I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
position
scope
bodyNode
file
endPosition
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.ROOTNODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
public org.jruby.runtime.DynamicScope getScope();
descriptor: ()Lorg/jruby/runtime/DynamicScope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RootNode.scope:Lorg/jruby/runtime/DynamicScope;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
public org.jruby.parser.StaticScope getStaticScope();
descriptor: ()Lorg/jruby/parser/StaticScope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RootNode.staticScope:Lorg/jruby/parser/StaticScope;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
public java.lang.String getFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RootNode.file:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
public org.jruby.ast.Node getBodyNode();
descriptor: ()Lorg/jruby/ast/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RootNode.bodyNode:Lorg/jruby/ast/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
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.visitRootNode:(Lorg/jruby/ast/RootNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
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 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: aload 0
getfield org.jruby.ast.RootNode.bodyNode:Lorg/jruby/ast/Node;
invokestatic org.jruby.ast.RootNode.createList:(Lorg/jruby/ast/Node;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
public boolean hasEndPosition();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RootNode.endPosition:I
iconst_m1
if_icmpeq 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 Lorg/jruby/ast/RootNode;
public int getEndPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RootNode.endPosition:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
public boolean needsCoverage();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RootNode.needsCodeCoverage:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
public boolean executesOnce();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RootNode;
}
SourceFile: "RootNode.java"