ca.uwaterloo.cs.ql.interp
Interface Scope

All Known Implementing Classes:
ScopedNode, ScriptUnitNode

public interface Scope


Method Summary
 void addVariable(Variable v)
           
 java.util.Enumeration allVariables()
           
 void clear()
           
 Scope getParent()
           
 boolean hasVariable(java.lang.String name)
           
 Variable lookup(java.lang.String name)
           
 void removeVariable(Variable v)
           
 

Method Detail

clear

void clear()

getParent

Scope getParent()

allVariables

java.util.Enumeration allVariables()

addVariable

void addVariable(Variable v)

removeVariable

void removeVariable(Variable v)

hasVariable

boolean hasVariable(java.lang.String name)

lookup

Variable lookup(java.lang.String name)
                throws LookupException
Throws:
LookupException