eece496
Class Populator

java.lang.Object
  extended byeece496.Populator

public class Populator
extends java.lang.Object

Populator class.

$Source: K:/cvsrepo/ee496/codes/jbuilder/src/TestCaseGenerator/src/eece496/Populator.java,v $
Last updated by $Author: kcai $
$Date: 2003/08/04 06:41:48 $
$Revision: 1.9 $
$State: Exp $

Author:
Kelvin Cai

Constructor Summary
Populator(ParseTree p, SymbolHashtable s)
          Constructor
 
Method Summary
 void populate(ParseTree p)
          recursive function.
 SymbolHashtable returnSymbolTable()
           
 void run()
          main method to be called by driver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Populator

public Populator(ParseTree p,
                 SymbolHashtable s)
Constructor

Parameters:
p - - the parse tree with all data
s - - the empty symboltable
Method Detail

run

public void run()
main method to be called by driver


populate

public void populate(ParseTree p)
recursive function. populate the symbol table from the parse tree in the Requirment level

Parameters:
p - - the parse tree

returnSymbolTable

public SymbolHashtable returnSymbolTable()