public class org.jruby.ast.DefnNode extends org.jruby.ast.MethodDefNode implements org.jruby.ast.types.INameNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.DefnNode
super_class: org.jruby.ast.MethodDefNode
{
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.RubySymbol, org.jruby.ast.ArgsNode, org.jruby.parser.StaticScope, org.jruby.ast.Node, int);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/RubySymbol;Lorg/jruby/ast/ArgsNode;Lorg/jruby/parser/StaticScope;Lorg/jruby/ast/Node;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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 2
aload 3
aload 4
aload 5
iload 6
invokespecial org.jruby.ast.MethodDefNode.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/RubySymbol;Lorg/jruby/ast/ArgsNode;Lorg/jruby/parser/StaticScope;Lorg/jruby/ast/Node;I)V
1: 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 2 0 this Lorg/jruby/ast/DefnNode;
0 2 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 2 2 name Lorg/jruby/RubySymbol;
0 2 3 argsNode Lorg/jruby/ast/ArgsNode;
0 2 4 scope Lorg/jruby/parser/StaticScope;
0 2 5 bodyNode Lorg/jruby/ast/Node;
0 2 6 endLine I
MethodParameters:
Name Flags
position
name
argsNode
scope
bodyNode
endLine
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.DEFNNODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/DefnNode;
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.visitDefnNode:(Lorg/jruby/ast/DefnNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/DefnNode;
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=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.DefnNode.argsNode:Lorg/jruby/ast/ArgsNode;
aload 0
getfield org.jruby.ast.DefnNode.bodyNode:Lorg/jruby/ast/Node;
invokestatic org.jruby.ast.Node.createList:(Lorg/jruby/ast/Node;Lorg/jruby/ast/Node;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/DefnNode;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
}
SourceFile: "DefnNode.java"