org.jruby.runtime
Class ScopeStack
java.lang.Object
org.jruby.util.collections.AbstractStack
org.jruby.runtime.ScopeStack
- public class ScopeStack
- extends AbstractStack
- Version:
- $Revision: 1.7 $
- Author:
- jpetersen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScopeStack
public ScopeStack(Ruby ruby)
push
public void push(java.lang.String[] localNames)
push
public void push(java.util.List localNames)
push
public void push(StackElement newElement)
- Overrides:
push
in class AbstractStack
push
public void push()
pop
public StackElement pop()
- Overrides:
pop
in class AbstractStack
setTop
public void setTop(StackElement newElement)
current
public Scope current()
getSuperObject
public IRubyObject getSuperObject()
setSuperObject
public void setSuperObject(IRubyObject superObject)
getLocalNames
public java.util.List getLocalNames()
resetLocalVariables
public void resetLocalVariables(java.util.List localNames)
addLocalVariables
public void addLocalVariables(java.util.List localNames)
hasLocalVariables
public boolean hasLocalVariables()
getValue
public IRubyObject getValue(int count)
setValue
public void setValue(int count,
IRubyObject value)
getLastLine
public IRubyObject getLastLine()
setLastLine
public void setLastLine(IRubyObject value)
getBackref
public IRubyObject getBackref()
setBackref
public void setBackref(IRubyObject match)
Copyright © 2002 Jan Arne Petersen. All Rights Reserved.