Top Fields Constructors Methods
org.jruby.ast

public Class ComplexNode

extends NumericNode
implements SideEffectFree
Class Inheritance
All Implemented Interfaces
org.jruby.ast.SideEffectFree
Imports
java.util.List, org.jruby.Ruby, org.jruby.ast.visitor.NodeVisitor, org.jruby.ir.runtime.IRRuntimeHelpers, org.jruby.runtime.builtin.IRubyObject

Field Summary

Modifier and TypeField and Description
private NumericNode
y

Constructor Summary

AccessConstructor and Description
public
ComplexNode(int line, NumericNode y)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(NodeVisitor<T> visitor)

Implements abstract org.jruby.ast.Node.accept.

public List<Node>
public NodeType
public NumericNode
public IRubyObject
public void
Inherited from org.jruby.ast.NumericNode:
negate

Field Detail

yback to summary
private NumericNode y

Constructor Detail

ComplexNodeback to summary
public ComplexNode(int line, NumericNode y)

Method Detail

acceptback to summary
public <T> T accept(NodeVisitor<T> visitor)

Implements abstract org.jruby.ast.Node.accept.

Annotations
@Override
childNodesback to summary
public List<Node> childNodes()

Implements abstract org.jruby.ast.Node.childNodes.

Annotations
@Override
getNodeTypeback to summary
public NodeType getNodeType()

Implements abstract org.jruby.ast.Node.getNodeType.

Returns:NodeType

Doc from org.jruby.ast.Node.getNodeType.

the nodeId

Annotations
@Override
getNumberback to summary
public NumericNode getNumber()
literalValueback to summary
public IRubyObject literalValue(Ruby runtime)

Implements org.jruby.ast.LiteralValue.literalValue.

Annotations
@Override
setNumberback to summary
public void setNumber(NumericNode y)