org.jruby.ast
Class ArrayNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.ListNode
org.jruby.ast.ArrayNode
- All Implemented Interfaces:
- ILiteralNode, InstructionContext, ISourcePositionHolder, java.io.Serializable
- public class ArrayNode
- extends ListNode
- implements ILiteralNode
Represents an array. This could be an array literal, quoted words or
some args stuff.
- Author:
- jpetersen
- See Also:
- Serialized Form
Methods inherited from class org.jruby.ast.Node |
addComment, addComments, createList, createList, createList, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArrayNode
public ArrayNode(ISourcePosition position,
Node firstNode)
ArrayNode
public ArrayNode(ISourcePosition position)
accept
public Instruction accept(NodeVisitor iVisitor)
- Accept for the visitor pattern.
- Overrides:
accept
in class ListNode
- Parameters:
iVisitor
- the visitor
setLightweight
public void setLightweight(boolean lightweight)
isLightweight
public boolean isLightweight()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.