Top Description Constructors Methods
org.jruby.ast

public Class ArrayNode

extends ListNode
implements ILiteralNode
Class Inheritance
All Implemented Interfaces
org.jruby.ast.types.ILiteralNode
Imports
org.jruby.ast.types.ILiteralNode, org.jruby.ast.visitor.NodeVisitor

Represents an array. This could be an array literal, quoted words or some args stuff.

Constructor Summary

AccessConstructor and Description
public
ArrayNode(int line, Node firstNode)

public
ArrayNode(int line)

Method Summary

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

Overrides org.jruby.ast.ListNode.accept.

Accept for the visitor pattern.

public NodeType
Inherited from org.jruby.ast.ListNode:
addaddAlladdAlladdAlladdAllInternaladdInternalchildNodeschildrengetgetLastisEmptyiteratorsize

Constructor Detail

ArrayNodeback to summary
public ArrayNode(int line, Node firstNode)
ArrayNodeback to summary
public ArrayNode(int line)

Method Detail

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

Overrides org.jruby.ast.ListNode.accept.

Accept for the visitor pattern.

Parameters
iVisitor:NodeVisitor<T>

the visitor

Annotations
@Override
getNodeTypeback to summary
public NodeType getNodeType()

Overrides org.jruby.ast.ListNode.getNodeType.

Returns:NodeType

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

the nodeId