public class ArrayNode extends ListNode implements ILiteralNode
| Constructor and Description |
|---|
ArrayNode(ISourcePosition position) |
ArrayNode(ISourcePosition position,
Node firstNode) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject[] |
interpretPrimitive(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
boolean |
isLightweight() |
void |
setLightweight(boolean lightweight) |
add, addAll, addAll, childNodes, get, getLast, prepend, sizeassign, createList, definition, getNodeName, getPosition, setPosition, toStringpublic ArrayNode(ISourcePosition position, Node firstNode)
public ArrayNode(ISourcePosition position)
public NodeType getNodeType()
getNodeType in class ListNodepublic Object accept(NodeVisitor iVisitor)
public void setLightweight(boolean lightweight)
public boolean isLightweight()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public IRubyObject[] interpretPrimitive(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2013 JRuby. All Rights Reserved.