org.jruby.compiler.ir
Class IRScript
java.lang.Object
org.jruby.compiler.ir.IRScopeImpl
org.jruby.compiler.ir.IRScript
- All Implemented Interfaces:
- IRScope
public class IRScript
- extends IRScopeImpl
Constructor Summary |
IRScript(java.lang.String className,
java.lang.String sourceName,
StaticScope staticScope)
|
Methods inherited from class org.jruby.compiler.ir.IRScopeImpl |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IRScript
public IRScript(java.lang.String className,
java.lang.String sourceName,
StaticScope staticScope)
getFileName
public Operand getFileName()
getScopeName
public java.lang.String getScopeName()
- Specified by:
getScopeName
in class IRScopeImpl
getRootMethod
public IRMethod getRootMethod()
getRootClass
public IRClass getRootClass()
toString
public java.lang.String toString()
- Overrides:
toString
in class IRScopeImpl
getLocalVariable
public LocalVariable getLocalVariable(java.lang.String name)
- Description copied from interface:
IRScope
- Get Local Variable from this scope
runCompilerPass
public void runCompilerPass(CompilerPass p)
- Description copied from interface:
IRScope
- Run the passed in compiler pass on this scope!
- Specified by:
runCompilerPass
in interface IRScope
- Overrides:
runCompilerPass
in class IRScopeImpl
Copyright © 2002-2009 JRuby Team. All Rights Reserved.