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, setName
assign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toString
protected final Node leftNode
public Colon2Node(ISourcePosition position, Node leftNode, String name)
public NodeType getNodeType()
getNodeType
in class Colon3Node
public Object accept(NodeVisitor iVisitor)
accept
in class Colon3Node
iVisitor
- the visitorpublic Node getLeftNode()
public List<Node> childNodes()
childNodes
in class Colon3Node
public RubyModule getEnclosingModule(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
getEnclosingModule
in class Colon3Node
Copyright © 2001-2014 JRuby. All Rights Reserved.