edu.ksu.cis.projects.bogor.ast.transform
Class BIRUnitSystemTransformer

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.ast.transform.BIRUnitSystemTransformer
All Implemented Interfaces:
ISystemTransformer

public class BIRUnitSystemTransformer
extends Object
implements ISystemTransformer


Field Summary
static String PREFIX
           
 
Constructor Summary
BIRUnitSystemTransformer()
           
 
Method Summary
 ITransformSystemResult transformSystem(System ast, Properties configuration, IBogorConfiguration bc, SymbolTable st, boolean dryRun)
          Destructively update the syntax tree ast.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final String PREFIX
See Also:
Constant Field Values
Constructor Detail

BIRUnitSystemTransformer

public BIRUnitSystemTransformer()
Method Detail

transformSystem

public ITransformSystemResult transformSystem(System ast,
                                              Properties configuration,
                                              IBogorConfiguration bc,
                                              SymbolTable st,
                                              boolean dryRun)
Description copied from interface: ISystemTransformer
Destructively update the syntax tree ast. Also modify the in-memory represention of the Bogor-configuration file (configuration), to remove old config data useful for the system before this transformation, and insert new configuration directives appropriate to the post-state.

Specified by:
transformSystem in interface ISystemTransformer
Parameters:
ast - the incoming syntax tree. This should be modified in-place.
configuration - the set of Bogor configuration options. These may be used both the retrieve settings necessary for the transformation, or updated to include new data relevant after the transformation.
bc - the Bogor environment. This should only be used for queries. No destructive updates should ever be performed on it.