public class Colon2ImplicitNode extends Colon2Node
leftNode
cache, 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, getNodeType
getName, getValue, reCache, setName
assign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toString
public Colon2ImplicitNode(ISourcePosition position, String name)
public RubyModule getEnclosingModule(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
getEnclosingModule
in class Colon2Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
interpret
in class Colon3Node
public RubyString definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
definition
in class Colon3Node
Copyright © 2001-2016 JRuby. All Rights Reserved.