org.jruby.ast
Class Colon2ConstNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.Colon3Node
          extended by org.jruby.ast.Colon2Node
              extended by org.jruby.ast.Colon2ConstNode
All Implemented Interfaces:
INameNode, ISourcePositionHolder

public class Colon2ConstNode
extends Colon2Node

Author:
enebo

Field Summary
 
Fields inherited from class org.jruby.ast.Colon2Node
leftNode
 
Fields inherited from class org.jruby.ast.Colon3Node
name
 
Fields inherited from class org.jruby.ast.Node
ASSIGNMENT_BYTELIST, CLASS_VARIABLE_BYTELIST, CONSTANT_BYTELIST, EXPRESSION_BYTELIST, FALSE_BYTELIST, GLOBAL_VARIABLE_BYTELIST, INSTANCE_VARIABLE_BYTELIST, LOCAL_VARIABLE_BYTELIST, LOCAL_VARIABLE_IN_BLOCK_BYTELIST, METHOD_BYTELIST, NIL_BYTELIST, SELF_BYTELIST, SUPER_BYTELIST, TRUE_BYTELIST, YIELD_BYTELIST
 
Constructor Summary
Colon2ConstNode(ISourcePosition position, Node leftNode, java.lang.String name)
           
 
Method Summary
 org.jruby.util.ByteList definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
           
 IRubyObject getValue(ThreadContext context, RubyModule target)
           
 IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
           
 IRubyObject reCache(ThreadContext context, RubyModule target)
           
 
Methods inherited from class org.jruby.ast.Colon2Node
accept, childNodes, getEnclosingModule, getLeftNode, getNodeType
 
Methods inherited from class org.jruby.ast.Colon3Node
getName, getValue, reCache, setName
 
Methods inherited from class org.jruby.ast.Node
assign, createList, getNodeName, getPosition, isInvisible, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jruby.ast.types.INameNode
getName
 

Constructor Detail

Colon2ConstNode

public Colon2ConstNode(ISourcePosition position,
                       Node leftNode,
                       java.lang.String name)
Method Detail

interpret

public IRubyObject interpret(Ruby runtime,
                             ThreadContext context,
                             IRubyObject self,
                             Block aBlock)
Overrides:
interpret in class Colon3Node

definition

public org.jruby.util.ByteList definition(Ruby runtime,
                                          ThreadContext context,
                                          IRubyObject self,
                                          Block aBlock)
Overrides:
definition in class Colon3Node

getValue

public IRubyObject getValue(ThreadContext context,
                            RubyModule target)

reCache

public IRubyObject reCache(ThreadContext context,
                           RubyModule target)


Copyright © 2002-2009 JRuby Team. All Rights Reserved.