public class IRScript extends IRScopeImpl
Constructor and Description |
---|
IRScript(java.lang.String className,
java.lang.String sourceName,
StaticScope staticScope) |
Modifier and Type | Method and Description |
---|---|
Operand |
getFileName() |
LocalVariable |
getLocalVariable(java.lang.String name)
Get Local Variable from this scope
|
IRClass |
getRootClass() |
IRMethod |
getRootMethod() |
java.lang.String |
getScopeName() |
void |
runCompilerPass(CompilerPass p)
Run the passed in compiler pass on this scope!
|
java.lang.String |
toString() |
addInstr, getContainer, getContainerModule, getInstrs, getLexicalParent, getName, getNearestModule, getNewInlineVariable, getNewLabel, getNewLabel, getNewTemporaryClosureVariable, getNewTemporaryVariable, getNextClosureId, getPrefixCountSize, getRenamedVariableSize, getStaticScope, getTemporaryVariableSize, prepareForInterpretation, recordMethodAlias, runCompilerPassOnNestedScopes, setContainer, setName, toStringInstrs, toStringVariables, unaliasMethodName
public IRScript(java.lang.String className, java.lang.String sourceName, StaticScope staticScope)
public Operand getFileName()
public java.lang.String getScopeName()
getScopeName
in class IRScopeImpl
public IRMethod getRootMethod()
public IRClass getRootClass()
public java.lang.String toString()
toString
in class IRScopeImpl
public LocalVariable getLocalVariable(java.lang.String name)
IRScope
public void runCompilerPass(CompilerPass p)
IRScope
runCompilerPass
in interface IRScope
runCompilerPass
in class IRScopeImpl
Copyright © 2002-2009 JRuby Team. All Rights Reserved.