Top Description Fields Constructors Methods
org.jruby.ast

public Class SuperNode

extends Node
implements BlockAcceptingNode
Class Inheritance
All Implemented Interfaces
org.jruby.ast.BlockAcceptingNode
Imports
java.util.List, org.jruby.ast.visitor.NodeVisitor

A call to super(...) with arguments to a method.

Field Summary

Modifier and TypeField and Description
private final Node
private Node
Inherited from org.jruby.ast.Node:
containsVariableAssignmentEMPTY_LISTnewline

Constructor Summary

AccessConstructor and Description
public
SuperNode(int line, Node argsNode)

public
SuperNode(int line, Node argsNode, Node iterNode)

Method Summary

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

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

Accept for the visitor pattern.

public List<Node>
public Node

Returns:

Returns a Node
getArgsNode
()

Gets the argsNode.

public Node
public NodeType
public Node
Inherited from org.jruby.ast.Node:
containsVariableAssignmentcreateListcreateListcreateListcreateListexecutesOncegetFilegetLinegetNodeNameisNewlineisNilneedsDefinitionChecksetLinesetNewlinetoStringtoStringtoStringExtraInfotoStringInternalunsetNewline

Field Detail

argsNodeback to summary
private final Node argsNode
iterNodeback to summary
private Node iterNode

Constructor Detail

SuperNodeback to summary
public SuperNode(int line, Node argsNode)
SuperNodeback to summary
public SuperNode(int line, Node argsNode, Node iterNode)

Method Detail

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

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

Accept for the visitor pattern.

Parameters
iVisitor:NodeVisitor<T>

the visitor

childNodesback to summary
public List<Node> childNodes()

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

getArgsNodeback to summary
public Node getArgsNode()

Gets the argsNode.

Returns:Node

Returns a Node

getIterNodeback to summary
public Node getIterNode()

Implements org.jruby.ast.BlockAcceptingNode.getIterNode.

getNodeTypeback to summary
public NodeType getNodeType()

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

Returns:NodeType

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

the nodeId

setIterNodeback to summary
public Node setIterNode(Node iterNode)

Implements org.jruby.ast.BlockAcceptingNode.setIterNode.