|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.runtime.Binding
public class Binding
Internal live representation of a block ({...} or do ... end).
Constructor Summary | |
---|---|
Binding(Frame frame,
RubyModule bindingClass,
DynamicScope dynamicScope,
java.lang.String file,
int line)
|
|
Binding(IRubyObject self,
Frame frame,
Visibility visibility,
RubyModule klass,
DynamicScope dynamicScope,
java.lang.String file,
int line)
|
Method Summary | |
---|---|
Binding |
clone()
|
Binding |
clone(Visibility visibility)
|
DynamicScope |
getDummyScope(StaticScope staticScope)
|
DynamicScope |
getDynamicScope()
Gets the dynamicVariables that are local to this block. |
java.lang.String |
getFile()
|
Frame |
getFrame()
Gets the frame. |
RubyModule |
getKlass()
Gets the klass. |
int |
getLine()
|
IRubyObject |
getSelf()
|
Visibility |
getVisibility()
|
void |
setFile(java.lang.String file)
|
void |
setLine(int line)
|
void |
setSelf(IRubyObject self)
|
void |
setVisibility(Visibility visibility)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Binding(IRubyObject self, Frame frame, Visibility visibility, RubyModule klass, DynamicScope dynamicScope, java.lang.String file, int line)
public Binding(Frame frame, RubyModule bindingClass, DynamicScope dynamicScope, java.lang.String file, int line)
Method Detail |
---|
public Binding clone()
clone
in class java.lang.Object
public Binding clone(Visibility visibility)
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 java.lang.String getFile()
public void setFile(java.lang.String file)
public int getLine()
public void setLine(int line)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |