Top Fields Constructors Methods
org.jruby.ir

public Class IREvalScript

extends IRClosure
Class Inheritance
Imports
org.jruby.EvalType, org.jruby.ir.operands.Label, org.jruby.parser.StaticScope, org.jruby.util.ByteList

Field Summary

Modifier and TypeField and Description
private static final ByteList
private String
Inherited from org.jruby.ir.IRClosure:
argDescclosureId

Constructor Summary

AccessConstructor and Description
public
IREvalScript(IRManager manager, IRScope lexicalParent, String fileName, int lineNumber, StaticScope staticScope, EvalType evalType)

Method Summary

Modifier and TypeMethod and Description
public String
public Label
public int
public IRScopeType
public boolean
isScriptScope()

Overrides org.jruby.ir.IRScope.isScriptScope.

Is this an eval script or a regular file script?

public boolean
public void
Inherited from org.jruby.ir.IRClosure:
allocateInterpreterContextallocateInterpreterContextcloneForInliningcloneForInliningconvertToMethodfindExistingLocalVariablegetArgumentDescriptorsgetBlockBodygetLocalVariablegetNewLocalVariablegetSignatureisENDisNestedClosuresSafeForMethodConversionisTopLocalVariableScopepersistScopeHeadersetArgumentDescriptorssetIsENDsetSignaturesetSourcetoStringBody

Field Detail

EVALback to summary
private static final ByteList EVAL
fileNameback to summary
private String fileName

Constructor Detail

IREvalScriptback to summary
public IREvalScript(IRManager manager, IRScope lexicalParent, String fileName, int lineNumber, StaticScope staticScope, EvalType evalType)

Method Detail

getFileback to summary
public String getFile()

Overrides org.jruby.ir.IRScope.getFile.

Implements org.jruby.ParseResult.getFile.

Annotations
@Override
getNewLabelback to summary
public Label getNewLabel()

Overrides org.jruby.ir.IRClosure.getNewLabel.

Annotations
@Override
getNextClosureIdback to summary
public int getNextClosureId()

Overrides org.jruby.ir.IRClosure.getNextClosureId.

Annotations
@Override
getScopeTypeback to summary
public IRScopeType getScopeType()

Overrides org.jruby.ir.IRClosure.getScopeType.

Annotations
@Override
isScriptScopeback to summary
public boolean isScriptScope()

Overrides org.jruby.ir.IRScope.isScriptScope.

Doc from org.jruby.ir.IRScope.isScriptScope.

Is this an eval script or a regular file script?

Annotations
@Override
isWhereFlipFlopStateVariableIsback to summary
public boolean isWhereFlipFlopStateVariableIs()

Overrides org.jruby.ir.IRClosure.isWhereFlipFlopStateVariableIs.

setFileNameback to summary
public void setFileName(String fileName)

Overrides org.jruby.ir.IRScope.setFileName.

Annotations
@Override