public abstract class Colon2Node extends Colon3Node implements INameNode
| Modifier and Type | Field and Description |
|---|---|
protected Node |
leftNode |
cache, name| Constructor and Description |
|---|
Colon2Node(ISourcePosition position,
Node leftNode,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
RubyModule |
getEnclosingModule(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Get parent module/class that this module represents
|
Node |
getLeftNode()
Gets the leftNode.
|
NodeType |
getNodeType() |
definition, getName, getValue, interpret, reCache, setNameassign, createList, getNodeName, getPosition, setPosition, toStringprotected final Node leftNode
public Colon2Node(ISourcePosition position, Node leftNode, String name)
public NodeType getNodeType()
getNodeType in class Colon3Nodepublic Object accept(NodeVisitor iVisitor)
accept in class Colon3NodeiVisitor - the visitorpublic Node getLeftNode()
public List<Node> childNodes()
childNodes in class Colon3Nodepublic RubyModule getEnclosingModule(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
getEnclosingModule in class Colon3NodeCopyright © 2001-2013 JRuby. All Rights Reserved.