Package | Description |
---|---|
org.jruby | |
org.jruby.ir.interpreter | |
org.jruby.ir.runtime | |
org.jruby.ir.targets | |
org.jruby.runtime |
Modifier and Type | Method and Description |
---|---|
Binding |
RubyBinding.getBinding() |
Modifier and Type | Method and Description |
---|---|
RubyBinding |
Ruby.newBinding(Binding binding) |
static RubyBinding |
RubyBinding.newBinding(Ruby runtime,
Binding binding) |
Constructor and Description |
---|
RubyBinding(Ruby runtime,
RubyClass rubyClass,
Binding binding) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
Interpreter.evalWithBinding(ThreadContext context,
IRubyObject self,
IRubyObject src,
Binding binding)
Evaluate the given string under the specified binding object.
|
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
IRRuntimeHelpers.useBindingSelf(Binding binding) |
Modifier and Type | Method and Description |
---|---|
static Binding |
Bootstrap.frameBinding(ThreadContext context,
IRubyObject self,
DynamicScope scope) |
static Binding |
Bootstrap.frameScopeBinding(ThreadContext context,
IRubyObject self,
DynamicScope scope) |
static Binding |
Bootstrap.scopeBinding(ThreadContext context,
IRubyObject self,
DynamicScope scope) |
static Binding |
Bootstrap.selfBinding(ThreadContext context,
IRubyObject self,
DynamicScope scope) |
Modifier and Type | Method and Description |
---|---|
static Block |
Bootstrap.constructBlock(Binding binding,
CompiledIRBlockBody body) |
Modifier and Type | Field and Description |
---|---|
static Binding |
Binding.DUMMY |
Modifier and Type | Method and Description |
---|---|
Binding |
Binding.clone()
Clone the binding.
|
Binding |
Binding.cloneForEval()
Clone the binding, but maintain a reference to the original "eval
binding" to continue sharing eval context.
|
Binding |
ThreadContext.currentBinding()
Return a binding representing the current call's state
|
Binding |
ThreadContext.currentBinding(IRubyObject self)
Return a binding representing the current call's state but with a specified self
|
Binding |
ThreadContext.currentBinding(IRubyObject self,
DynamicScope scope)
Return a binding representing the current call's state but with the
specified scope and self.
|
Binding |
ThreadContext.currentBinding(IRubyObject self,
Visibility visibility)
Return a binding representing the current call's state but with the
specified visibility and self.
|
Binding |
ThreadContext.currentBinding(IRubyObject self,
Visibility visibility,
DynamicScope scope)
Return a binding representing the current call's state but with the
specified visibility, scope, and self.
|
Binding |
Block.getBinding() |
Modifier and Type | Method and Description |
---|---|
void |
ThreadContext.postEvalWithBinding(Binding binding,
Frame lastFrame) |
void |
ThreadContext.postYield(Binding binding,
Frame lastFrame) |
Frame |
ThreadContext.preEvalWithBinding(Binding binding) |
Frame |
ThreadContext.preYieldNoScope(Binding binding) |
Frame |
ThreadContext.preYieldSpecificBlock(Binding binding,
StaticScope scope) |
Constructor and Description |
---|
Block(BlockBody body,
Binding binding) |
Copyright © 2001-2016 JRuby. All Rights Reserved.