pl.edu.pjwstk.yaod.sbql.engine
Class EnvironmentalStack

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.sbql.engine.EnvironmentalStack

public class EnvironmentalStack
extends java.lang.Object


Constructor Summary
EnvironmentalStack(ObjectManager om)
           
 
Method Summary
 void addAtBottom(BinderValue b)
           
 QueryResult bind(java.lang.String name)
           
 void deleteAll()
           
 void deleteAtBottom(BinderValue b)
           
 void deleteElement(BinderValue b)
           
 boolean empty()
           
 ActivationRecord getElementAt(int i)
           
 ActivationRecord getFirstElement()
           
 ActivationRecord getLastElement()
           
 int getSize()
           
 ActivationRecord pop()
           
 void push(ActivationRecord ar)
           
 void renameElement(BinderValue b, java.lang.String name)
           
 void show()
           
 ActivationRecord top()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvironmentalStack

public EnvironmentalStack(ObjectManager om)
Method Detail

empty

public boolean empty()

push

public void push(ActivationRecord ar)

pop

public ActivationRecord pop()
                     throws EmptyStackException

top

public ActivationRecord top()
                     throws EmptyStackException

getSize

public int getSize()

getElementAt

public ActivationRecord getElementAt(int i)

getLastElement

public ActivationRecord getLastElement()

getFirstElement

public ActivationRecord getFirstElement()

deleteAll

public void deleteAll()

deleteElement

public void deleteElement(BinderValue b)
                   throws TypeMismatchException

renameElement

public void renameElement(BinderValue b,
                          java.lang.String name)
                   throws TypeMismatchException

addAtBottom

public void addAtBottom(BinderValue b)

deleteAtBottom

public void deleteAtBottom(BinderValue b)
                    throws TypeMismatchException

bind

public QueryResult bind(java.lang.String name)

show

public void show()