org.jruby.compiler.ir
Class IR_Class

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

public class IR_Class
extends IR_Module


Field Summary
 boolean _isSingleton
           
 Operand _superClass
           
 
Fields inherited from class org.jruby.compiler.ir.IR_Module
_name
 
Fields inherited from class org.jruby.compiler.ir.IR_ScopeImpl
_classes, _methods, _modules
 
Constructor Summary
IR_Class(IR_Scope parent, IR_Scope lexicalParent, Operand superClass, java.lang.String className, boolean isSingleton)
           
IR_Class(Operand parent, IR_Scope lexicalParent, Operand superClass, java.lang.String className, boolean isSingleton)
           
 
Method Summary
static void bootStrap()
           
static IR_Class getCoreClass(java.lang.String n)
           
 IR_Method getRootMethod()
           
static boolean isAClassRootMethod(IR_Method m)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.IR_Module
getClassMethod, getInstanceMethod
 
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

_superClass

public final Operand _superClass

_isSingleton

public final boolean _isSingleton
Constructor Detail

IR_Class

public IR_Class(IR_Scope parent,
                IR_Scope lexicalParent,
                Operand superClass,
                java.lang.String className,
                boolean isSingleton)

IR_Class

public IR_Class(Operand parent,
                IR_Scope lexicalParent,
                Operand superClass,
                java.lang.String className,
                boolean isSingleton)
Method Detail

bootStrap

public static void bootStrap()

isAClassRootMethod

public static boolean isAClassRootMethod(IR_Method m)

getCoreClass

public static IR_Class getCoreClass(java.lang.String n)

getRootMethod

public IR_Method getRootMethod()

toString

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


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