public class Binding extends Object
Constructor and Description |
---|
Binding(Frame frame,
RubyModule bindingClass,
DynamicScope dynamicScope,
BacktraceElement backtrace) |
Binding(IRubyObject self,
Frame frame,
Visibility visibility,
RubyModule klass,
DynamicScope dynamicScope,
BacktraceElement backtrace) |
Modifier and Type | Method and Description |
---|---|
Binding |
clone()
Clone the binding.
|
Binding |
cloneForEval()
Clone the binding, but maintain a reference to the original "eval
binding" to continue sharing eval context.
|
boolean |
equals(Object other) |
BacktraceElement |
getBacktrace() |
DynamicScope |
getDummyScope(StaticScope staticScope) |
DynamicScope |
getDynamicScope()
Gets the dynamicVariables that are local to this block.
|
DynamicScope |
getEvalScope(Ruby runtime) |
String |
getFile() |
Frame |
getFrame()
Gets the frame.
|
RubyModule |
getKlass()
Gets the klass.
|
int |
getLine() |
String |
getMethod() |
IRubyObject |
getSelf() |
Visibility |
getVisibility() |
void |
setFile(String file) |
void |
setLine(int line) |
void |
setMethod(String method) |
void |
setSelf(IRubyObject self) |
void |
setVisibility(Visibility visibility) |
public Binding(IRubyObject self, Frame frame, Visibility visibility, RubyModule klass, DynamicScope dynamicScope, BacktraceElement backtrace)
public Binding(Frame frame, RubyModule bindingClass, DynamicScope dynamicScope, BacktraceElement backtrace)
public Binding cloneForEval()
public Binding clone()
public Visibility getVisibility()
public void setVisibility(Visibility visibility)
public IRubyObject getSelf()
public void setSelf(IRubyObject self)
public DynamicScope getDynamicScope()
public DynamicScope getDummyScope(StaticScope staticScope)
public Frame getFrame()
public RubyModule getKlass()
public BacktraceElement getBacktrace()
public String getFile()
public void setFile(String file)
public int getLine()
public void setLine(int line)
public String getMethod()
public void setMethod(String method)
public final DynamicScope getEvalScope(Ruby runtime)
Copyright © 2001-2016 JRuby. All Rights Reserved.