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, unaliasMethodNamepublic IRScript(java.lang.String className,
java.lang.String sourceName,
StaticScope staticScope)
public Operand getFileName()
public java.lang.String getScopeName()
getScopeName in class IRScopeImplpublic IRMethod getRootMethod()
public IRClass getRootClass()
public java.lang.String toString()
toString in class IRScopeImplpublic LocalVariable getLocalVariable(java.lang.String name)
IRScopepublic void runCompilerPass(CompilerPass p)
IRScoperunCompilerPass in interface IRScoperunCompilerPass in class IRScopeImplCopyright © 2002-2009 JRuby Team. All Rights Reserved.