Public Member Functions | Protected Attributes

Scope Class Reference

Inherits java::io::Serializable.

List of all members.

Public Member Functions

 Scope (Scope parent)
void addSymbol (Symbol s)
Symbol resolve (String name)
String toString ()

Protected Attributes

Scope parent
Hashtable symbols = new Hashtable()

Detailed Description

A set of symbols (type defs and/or variables)


Constructor & Destructor Documentation

Scope.Scope ( Scope  parent  ) 

Member Function Documentation

void Scope.addSymbol ( Symbol  s  ) 
Symbol Scope.resolve ( String  name  ) 

Look up name in this scope or parent

References parent, resolve(), and symbols.

Referenced by resolve().

String Scope.toString (  ) 

References parent, and symbols.


Member Data Documentation

Scope Scope.parent [protected]

Referenced by resolve(), and toString().

Hashtable Scope.symbols = new Hashtable() [protected]

Referenced by addSymbol(), resolve(), and toString().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties