Top Description Methods
org.jruby.embed

public Interface EmbedEvalUnit

extends EvalUnit
Known Direct Implementers
org.jruby.embed.internal.EmbedEvalUnitImpl
Imports
org.jruby.ast.Node, org.jruby.javasupport.JavaEmbedUtils, org.jruby.runtime.DynamicScope, org.jruby.runtime.scope.ManyVarsDynamicScope

Wrapper interface of JavaEmbedUtils.EvalUnit for embedding. This interface defines an evaluation unit for a parsed or compiled script, which are executable.
Author
Yoko Harada <[email protected]>

Method Summary

Modifier and TypeMethod and Description
public DynamicScope

Returns:

scope to refer local variables.
getLocalVarScope
()

Returns a scope used to parse a script.

public Node

Returns:

parsed node.
getNode
()

Returns a root node of parsed Ruby script.

public default ManyVarsDynamicScope
getScope()
Deprecated

Inherited from org.jruby.javasupport.JavaEmbedUtils.EvalUnit:
run

Method Detail

getLocalVarScopeback to summary
public DynamicScope getLocalVarScope()

Returns a scope used to parse a script. For example, org.jruby.runtime.scope.ManyVarsDynamicScope.

Returns:DynamicScope

scope to refer local variables.

getNodeback to summary
public Node getNode()

Returns a root node of parsed Ruby script.

Returns:Node

parsed node.

getScopeback to summary
public default ManyVarsDynamicScope getScope()

Deprecated

Annotations
@Deprecated