org.jruby.compiler.ir
Class IR_Module

java.lang.Object
  extended by org.jruby.compiler.ir.IR_ScopeImpl
      extended by org.jruby.compiler.ir.IR_Module
All Implemented Interfaces:
IR_Scope
Direct Known Subclasses:
IR_Class

public class IR_Module
extends IR_ScopeImpl


Field Summary
 java.lang.String _name
           
 
Fields inherited from class org.jruby.compiler.ir.IR_ScopeImpl
_classes, _methods, _modules
 
Constructor Summary
IR_Module(IR_Scope parent, IR_Scope lexicalParent, java.lang.String name)
           
IR_Module(Operand parent, IR_Scope lexicalParent, java.lang.String name)
           
 
Method Summary
 IR_Method getClassMethod(java.lang.String name)
           
 IR_Method getInstanceMethod(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.IR_ScopeImpl
addClass, addInstr, addMethod, addModule, buildCFG, endLoop, getAndIncrementMethodIndex, getCFG, getConstants, getConstantValue, getCurrentLoop, getInstrs, getNewLabel, getNewLabel, getNewVariable, getNewVariable, getParent, getSelf, runCompilerPass, setConstantValue, startLoop, toStringInstrs, toStringVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

public final java.lang.String _name
Constructor Detail

IR_Module

public IR_Module(IR_Scope parent,
                 IR_Scope lexicalParent,
                 java.lang.String name)

IR_Module

public IR_Module(Operand parent,
                 IR_Scope lexicalParent,
                 java.lang.String name)
Method Detail

getInstanceMethod

public IR_Method getInstanceMethod(java.lang.String name)

getClassMethod

public IR_Method getClassMethod(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class IR_ScopeImpl


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