org.jruby.compiler.ir
Interface IR_Scope

All Known Implementing Classes:
IR_Class, IR_Closure, IR_Method, IR_Module, IR_ScopeImpl, IR_Script

public interface IR_Scope


Method Summary
 void addClass(IR_Class c)
           
 void addInstr(IR_Instr i)
           
 void addMethod(IR_Method m)
           
 void addModule(IR_Module m)
           
 CFG buildCFG()
           
 void endLoop(IR_Loop l)
           
 CFG getCFG()
           
 Operand getConstantValue(java.lang.String constRef)
           
 IR_Loop getCurrentLoop()
           
 Label getNewLabel()
           
 Label getNewLabel(java.lang.String lblPrefix)
           
 Variable getNewVariable()
           
 Variable getNewVariable(java.lang.String prefix)
           
 Operand getParent()
           
 Variable getSelf()
           
 void runCompilerPass(CompilerPass opt)
           
 void setConstantValue(java.lang.String constRef, Operand value)
           
 void startLoop(IR_Loop l)
           
 

Method Detail

getParent

Operand getParent()

addClass

void addClass(IR_Class c)

addModule

void addModule(IR_Module m)

addMethod

void addMethod(IR_Method m)

addInstr

void addInstr(IR_Instr i)

getNewVariable

Variable getNewVariable(java.lang.String prefix)

getNewVariable

Variable getNewVariable()

getNewLabel

Label getNewLabel(java.lang.String lblPrefix)

getNewLabel

Label getNewLabel()

getSelf

Variable getSelf()

buildCFG

CFG buildCFG()

getCFG

CFG getCFG()

getConstantValue

Operand getConstantValue(java.lang.String constRef)

setConstantValue

void setConstantValue(java.lang.String constRef,
                      Operand value)

getCurrentLoop

IR_Loop getCurrentLoop()

startLoop

void startLoop(IR_Loop l)

endLoop

void endLoop(IR_Loop l)

runCompilerPass

void runCompilerPass(CompilerPass opt)


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