Interface EmbedEvalUnit

All Superinterfaces:
JavaEmbedUtils.EvalUnit
All Known Implementing Classes:
EmbedEvalUnitImpl

public interface EmbedEvalUnit extends JavaEmbedUtils.EvalUnit
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 Details

    • getNode

      Node getNode()
      Returns a root node of parsed Ruby script.
      Returns:
      parsed node.
    • getLocalVarScope

      DynamicScope getLocalVarScope()
      Returns a scope used to parse a script. For example, org.jruby.runtime.scope.ManyVarsDynamicScope.
      Returns:
      scope to refer local variables.
    • getScope

      @Deprecated default ManyVarsDynamicScope getScope()
      Deprecated.