rasmus.interpreter.namespace
Class InheritNameSpace

java.lang.Object
  extended by rasmus.interpreter.NameSpaceAdapter
      extended by rasmus.interpreter.namespace.InheritNameSpace
All Implemented Interfaces:
Closeable, NameSpace

public class InheritNameSpace
extends NameSpaceAdapter
implements Closeable


Constructor Summary
InheritNameSpace(NameSpace parent)
           
InheritNameSpace(NameSpace parent, java.lang.String namespacename)
           
 
Method Summary
 void close()
           
 void put(java.lang.String name, Variable var)
           
 
Methods inherited from class rasmus.interpreter.NameSpaceAdapter
addToCommitStack, commit, get, getAllNames, getNameSpace, registerAsPrivate, setNameSpace, unRegisterAsPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InheritNameSpace

public InheritNameSpace(NameSpace parent)

InheritNameSpace

public InheritNameSpace(NameSpace parent,
                        java.lang.String namespacename)
Method Detail

put

public void put(java.lang.String name,
                Variable var)

close

public void close()
Specified by:
close in interface Closeable