Uses of Class
org.jruby.runtime.Binding
Packages that use Binding
Package
Description
-
Uses of Binding in org.jruby
Modifier and TypeMethodDescriptionRuby.newBinding
(Binding binding) static RubyBinding
RubyBinding.newBinding
(Ruby runtime, Binding binding) -
Uses of Binding in org.jruby.ir.interpreter
Methods in org.jruby.ir.interpreter with parameters of type BindingModifier and TypeMethodDescriptionstatic IRubyObject
Interpreter.evalWithBinding
(ThreadContext context, IRubyObject self, IRubyObject src, Binding binding, boolean bindingGiven) Evaluate the given string under the specified binding object. -
Uses of Binding in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return BindingModifier and TypeMethodDescriptionstatic Binding
IRRuntimeHelpers.newFrameScopeBinding
(ThreadContext context, IRubyObject self, DynamicScope scope) Methods in org.jruby.ir.runtime with parameters of type BindingModifier and TypeMethodDescriptionstatic IRubyObject
IRRuntimeHelpers.useBindingSelf
(Binding binding) -
Uses of Binding in org.jruby.ir.targets.indy
Methods in org.jruby.ir.targets.indy that return BindingModifier and TypeMethodDescriptionstatic Binding
ConstructBlockBootstrap.frameBinding
(ThreadContext context, IRubyObject self, DynamicScope scope) static Binding
ConstructBlockBootstrap.scopeBinding
(ThreadContext context, IRubyObject self, DynamicScope scope) static Binding
ConstructBlockBootstrap.selfBinding
(ThreadContext context, IRubyObject self, DynamicScope scope) Methods in org.jruby.ir.targets.indy with parameters of type BindingModifier and TypeMethodDescriptionstatic Block
ConstructBlockBootstrap.constructBlock
(Binding binding, CompiledIRBlockBody body) -
Uses of Binding in org.jruby.runtime
Fields in org.jruby.runtime declared as BindingMethods in org.jruby.runtime that return BindingModifier and TypeMethodDescriptionBinding.clone()
Clone the binding.Binding.cloneForEval()
Clone the binding, but maintain a reference to the original "eval binding" to continue sharing eval context.ThreadContext.currentBinding()
Return a binding representing the current call's stateThreadContext.currentBinding
(IRubyObject self) Return a binding representing the current call's state but with a specified selfThreadContext.currentBinding
(IRubyObject self, DynamicScope scope) Return a binding representing the current call's state but with the specified scope and self.ThreadContext.currentBinding
(IRubyObject self, Visibility visibility) Return a binding representing the current call's state but with the specified visibility and self.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.dup
(ThreadContext context) Duplicate this binding and setup the proper cloned instance of the eval scope so that any previously captured variables still exist but are not shared with the original binding.Block.getBinding()
Methods in org.jruby.runtime with parameters of type BindingModifier and TypeMethodDescriptionvoid
ThreadContext.postEvalWithBinding
(Binding binding, Frame lastFrame) void
ThreadContext.preEvalWithBinding
(Binding binding) ThreadContext.preYieldNoScope
(Binding binding) ThreadContext.preYieldSpecificBlock
(Binding binding, StaticScope scope) Constructors in org.jruby.runtime with parameters of type Binding