public class OptArgNode extends Node implements INameNode
| Constructor and Description |
|---|
OptArgNode(ISourcePosition position,
Node value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(NodeVisitor visitor) |
IRubyObject |
assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject assignValue,
Block block,
boolean checkArity) |
List<Node> |
childNodes() |
String |
getName() |
NodeType |
getNodeType() |
Node |
getValue() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
createList, definition, getNodeName, getPosition, setPosition, toStringpublic OptArgNode(ISourcePosition position, Node value)
public NodeType getNodeType()
getNodeType in class Nodepublic Node getValue()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public IRubyObject assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject assignValue, Block block, boolean checkArity)
public Object accept(NodeVisitor visitor)
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2013 JRuby. All Rights Reserved.