public class org.jruby.ast.RationalNode extends org.jruby.ast.NumericNode implements org.jruby.ast.SideEffectFree
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.RationalNode
super_class: org.jruby.ast.NumericNode
{
private final org.jruby.ast.NumericNode numerator;
descriptor: Lorg/jruby/ast/NumericNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.ast.NumericNode denominator;
descriptor: Lorg/jruby/ast/NumericNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.ast.NumericNode, org.jruby.ast.NumericNode);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/ast/NumericNode;Lorg/jruby/ast/NumericNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.jruby.ast.NumericNode.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;)V
1: aload 0
aload 2
putfield org.jruby.ast.RationalNode.numerator:Lorg/jruby/ast/NumericNode;
2: aload 0
aload 3
putfield org.jruby.ast.RationalNode.denominator:Lorg/jruby/ast/NumericNode;
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/RationalNode;
0 4 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 4 2 numerator Lorg/jruby/ast/NumericNode;
0 4 3 denominator Lorg/jruby/ast/NumericNode;
MethodParameters:
Name Flags
position
numerator
denominator
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.visitRationalNode:(Lorg/jruby/ast/RationalNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RationalNode;
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 org.jruby.ast.NumericNode negate();
descriptor: ()Lorg/jruby/ast/NumericNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.jruby.ast.RationalNode
dup
aload 0
invokevirtual org.jruby.ast.RationalNode.getPosition:()Lorg/jruby/lexer/yacc/ISourcePosition;
aload 0
getfield org.jruby.ast.RationalNode.numerator:Lorg/jruby/ast/NumericNode;
invokevirtual org.jruby.ast.NumericNode.negate:()Lorg/jruby/ast/NumericNode;
aload 0
getfield org.jruby.ast.RationalNode.denominator:Lorg/jruby/ast/NumericNode;
invokespecial org.jruby.ast.RationalNode.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/ast/NumericNode;Lorg/jruby/ast/NumericNode;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RationalNode;
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.RationalNode.numerator:Lorg/jruby/ast/NumericNode;
aload 0
getfield org.jruby.ast.RationalNode.denominator:Lorg/jruby/ast/NumericNode;
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/RationalNode;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
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.RATIONALNODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RationalNode;
public org.jruby.ast.NumericNode getNumerator();
descriptor: ()Lorg/jruby/ast/NumericNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RationalNode.numerator:Lorg/jruby/ast/NumericNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RationalNode;
public org.jruby.ast.NumericNode getDenominator();
descriptor: ()Lorg/jruby/ast/NumericNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.RationalNode.denominator:Lorg/jruby/ast/NumericNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/RationalNode;
}
SourceFile: "RationalNode.java"