| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private DynamicScope |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | cleanupAfterExecution()
Overrides org. We are done with execution of this scope and we can cleanup some amount of things in this scope which will no longer be used. |
| public String | |
| public String | |
| public RubySymbol | |
| public int | getNearestModuleReferencingScopeDepth()
Overrides org. Returns the nearest scope which we can extract a live module from. |
| public IRScopeType | |
| public DynamicScope | |
| public boolean | isScriptScope()
Overrides org. Is this an eval script or a regular file script? |
| public void | |
| public void | |
| public String |
| fileName | back to summary |
|---|---|
| private String fileName | |
| toplevelScope | back to summary |
|---|---|
| private DynamicScope toplevelScope | |
| IRScriptBody | back to summary |
|---|---|
| public IRScriptBody(IRManager manager, String sourceName, StaticScope staticScope) | |
| cleanupAfterExecution | back to summary |
|---|---|
| public void cleanupAfterExecution() Overrides org. Doc from org. We are done with execution of this scope and we can cleanup some amount of things in this scope which will no longer be used. Sub-classes will be the deciders of what is no longer needed. An example, to illustrate the complexity of cleanup: A class with no nested closures can remove any ICs created and can remove some other infomrational data structures like allocated variables unless closures do exist and then the ICs must stay for when closures JIT.
| |
| getFile | back to summary |
|---|---|
| public String getFile() Overrides org. Implements org. | |
| getId | back to summary |
|---|---|
| public String getId() Overrides org. | |
| getName | back to summary |
|---|---|
| public RubySymbol getName() Overrides org. | |
| getNearestModuleReferencingScopeDepth | back to summary |
|---|---|
| public int getNearestModuleReferencingScopeDepth() Overrides org. Doc from org. Returns the nearest scope which we can extract a live module from. If this returns null (like for evals), then it means it cannot be statically determined.
| |
| getScopeType | back to summary |
|---|---|
| public IRScopeType getScopeType() Implements abstract org.
| |
| getScriptDynamicScope | back to summary |
|---|---|
| public DynamicScope getScriptDynamicScope() | |
| isScriptScope | back to summary |
|---|---|
| public boolean isScriptScope() Overrides org. Doc from org. Is this an eval script or a regular file script?
| |
| setFileName | back to summary |
|---|---|
| public void setFileName(String fileName) Overrides org.
| |
| setScriptDynamicScope | back to summary |
|---|---|
| public void setScriptDynamicScope(DynamicScope tlbScope) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |