public class Colon2ImplicitNode extends Colon2Node
leftNodecache, name| Constructor and Description |
|---|
Colon2ImplicitNode(ISourcePosition position,
String name) |
| Modifier and Type | Method and Description |
|---|---|
RubyString |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
This type of node will never get created as part of a defined? call since it will then
appear to be a ConstNode.
|
RubyModule |
getEnclosingModule(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Get parent module/class that this module represents
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
This type of node will never get interpreted since it only gets created via class/module
declaration time.
|
accept, childNodes, getLeftNode, getNodeTypegetName, getValue, reCache, setNameassign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toStringpublic Colon2ImplicitNode(ISourcePosition position, String name)
public RubyModule getEnclosingModule(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
getEnclosingModule in class Colon2Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
interpret in class Colon3Nodepublic RubyString definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
definition in class Colon3NodeCopyright © 2001-2014 JRuby. All Rights Reserved.