Package | Description |
---|---|
org.jruby | |
org.jruby.evaluator | |
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 |
ASTInterpreter.evalWithBinding(ThreadContext context,
IRubyObject src,
Binding binding)
Deprecated.
|
static IRubyObject |
ASTInterpreter.evalWithBinding(ThreadContext context,
IRubyObject self,
IRubyObject src,
Binding binding)
Evaluate the given string under the specified binding object.
|
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() |
Binding |
ThreadContext.previousBinding()
Deprecated.
|
Binding |
ThreadContext.previousBinding(IRubyObject self)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IRubyObject |
NullBlockBody.call(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody.call(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
Binding binding,
Block.Type type,
Block unusedBlock) |
IRubyObject |
NullBlockBody.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
JavaInternalBlockBody.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
Interpreted19Block.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock19.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock19.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
JavaInternalBlockBody.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
InterpretedIRBlockBody.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
Interpreted19Block.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
CompiledBlock19.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
CallBlock19.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
CallBlock.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
BlockBody.call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
SharedScopeBlock.call(ThreadContext context,
IRubyObject[] args,
IRubyObject replacementSelf,
Binding binding,
Block.Type type) |
IRubyObject |
NullBlockBody.call(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody.call(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type,
Block unusedBlock) |
IRubyObject |
NullBlockBody.call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody.call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type,
Block unusedBlock) |
IRubyObject |
NullBlockBody.call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody.call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type,
Block unusedBlock) |
Block |
SharedScopeBlock.cloneBlock(Binding binding) |
Block |
NullBlockBody.cloneBlock(Binding binding) |
Block |
JavaInternalBlockBody.cloneBlock(Binding binding) |
Block |
ContextAwareBlockBody.cloneBlock(Binding binding) |
Block |
CompiledSharedScopeBlock.cloneBlock(Binding binding) |
Block |
CallBlock19.cloneBlock(Binding binding) |
Block |
CallBlock.cloneBlock(Binding binding) |
abstract Block |
BlockBody.cloneBlock(Binding binding) |
protected IRubyObject |
InterpretedIRBlockBody.commonYieldPath(ThreadContext context,
IRubyObject[] args,
IRubyObject self,
RubyModule klass,
Binding binding,
Block.Type type,
Block block) |
protected void |
MethodBlock.post(ThreadContext context,
Binding binding,
Visibility visibility,
Frame lastFrame) |
protected void |
ContextAwareBlockBody.post(ThreadContext context,
Binding binding,
Visibility vis,
Frame lastFrame) |
protected void |
CompiledBlockLight19.post(ThreadContext context,
Binding binding,
Visibility vis,
Frame lastFrame) |
protected void |
CompiledBlockLight.post(ThreadContext context,
Binding binding,
Visibility vis,
Frame lastFrame) |
void |
ThreadContext.postEvalWithBinding(Binding binding,
Frame lastFrame) |
void |
ThreadContext.postYield(Binding binding,
Frame lastFrame) |
void |
ThreadContext.postYieldLight(Binding binding,
Frame lastFrame) |
protected Frame |
SharedScopeBlock.pre(ThreadContext context,
RubyModule klass,
Binding binding) |
protected Frame |
MethodBlock.pre(ThreadContext context,
RubyModule klass,
Binding binding) |
protected Frame |
ContextAwareBlockBody.pre(ThreadContext context,
RubyModule klass,
Binding binding) |
protected Frame |
CompiledSharedScopeBlock.pre(ThreadContext context,
RubyModule klass,
Binding binding) |
protected Frame |
CompiledBlockLight19.pre(ThreadContext context,
RubyModule klass,
Binding binding) |
protected Frame |
CompiledBlockLight.pre(ThreadContext context,
RubyModule klass,
Binding binding) |
Frame |
ThreadContext.preEvalWithBinding(Binding binding) |
Frame |
ThreadContext.preForBlock(Binding binding,
RubyModule klass) |
protected IRubyObject |
InterpretedIRBlockBody.prepareSelf(Binding binding) |
Frame |
ThreadContext.preYieldLightBlock(Binding binding,
DynamicScope emptyScope,
RubyModule klass) |
Frame |
ThreadContext.preYieldNoScope(Binding binding,
RubyModule klass) |
Frame |
ThreadContext.preYieldSpecificBlock(Binding binding,
StaticScope scope,
RubyModule klass) |
IRubyObject |
InterpretedBlock.yield(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
NullBlockBody.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
JavaInternalBlockBody.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedBlock.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
Interpreted19Block.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock19.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock19.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
abstract IRubyObject |
BlockBody.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
InterpretedBlock.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
CompiledBlock.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
BlockBody.yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
NullBlockBody.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type) |
IRubyObject |
JavaInternalBlockBody.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody19.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean argIsArray,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean isArray,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedBlock.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean alreadyArray,
Binding binding,
Block.Type type)
Yield to this block, usually passed to the current call.
|
IRubyObject |
Interpreted19Block.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type)
Yield to this block, usually passed to the current call.
|
IRubyObject |
CompiledBlock19.yield(ThreadContext context,
IRubyObject args,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock.yield(ThreadContext context,
IRubyObject args,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock19.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type)
Yield to this block, usually passed to the current call.
|
IRubyObject |
CallBlock.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type)
Yield to this block, usually passed to the current call.
|
abstract IRubyObject |
BlockBody.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type,
Block block)
Yield to this block, usually passed to the current call.
|
IRubyObject |
InterpretedBlock.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean alreadyArray,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
Interpreted19Block.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
CompiledBlock19.yield(ThreadContext context,
IRubyObject args,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
CompiledBlock.yield(ThreadContext context,
IRubyObject args,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
BlockBody.yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
NullBlockBody.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody19.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedBlock.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
Interpreted19Block.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock19.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock19.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
NullBlockBody.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
Interpreted19Block.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
NullBlockBody.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
Interpreted19Block.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
NullBlockBody.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
MethodBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedIRBlockBody19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
InterpretedBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
Interpreted19Block.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
CompiledBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock19.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
CallBlock.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
BlockBody.yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
Constructor and Description |
---|
Block(BlockBody body,
Binding binding) |
Copyright © 2001-2014 JRuby. All Rights Reserved.