public class org.jruby.ast.OptArgNode extends org.jruby.ast.Node implements org.jruby.ast.types.INameNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.OptArgNode
super_class: org.jruby.ast.Node
{
private org.jruby.ast.Node value;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.ast.Node);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/ast/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ifnull 1
aload 2
invokevirtual org.jruby.ast.Node.containsVariableAssignment:()Z
ifeq 1
iconst_1
goto 2
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition
1: iconst_0
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition int
2: invokespecial org.jruby.ast.Node.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Z)V
3: aload 0
aload 2
putfield org.jruby.ast.OptArgNode.value:Lorg/jruby/ast/Node;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ast/OptArgNode;
0 5 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 5 2 value Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
position
value
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.OPTARGNODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/OptArgNode;
public org.jruby.ast.Node getValue();
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.OptArgNode.value:Lorg/jruby/ast/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/OptArgNode;
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.visitOptArgNode:(Lorg/jruby/ast/OptArgNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/OptArgNode;
0 1 1 visitor Lorg/jruby/ast/visitor/NodeVisitor<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/jruby/ast/visitor/NodeVisitor<TT;>;)TT;
MethodParameters:
Name Flags
visitor
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.OptArgNode.value:Lorg/jruby/ast/Node;
invokestatic org.jruby.ast.Node.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/OptArgNode;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
public org.jruby.RubySymbol getName();
descriptor: ()Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.OptArgNode.value:Lorg/jruby/ast/Node;
checkcast org.jruby.ast.types.INameNode
invokeinterface org.jruby.ast.types.INameNode.getName:()Lorg/jruby/RubySymbol;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/OptArgNode;
}
SourceFile: "OptArgNode.java"