edu.ksu.cis.projects.bogor.ast.transform
Class BIRUnitSystemTransformer
java.lang.Object
edu.ksu.cis.projects.bogor.ast.transform.BIRUnitSystemTransformer
- All Implemented Interfaces:
- ISystemTransformer
public class BIRUnitSystemTransformer
- extends Object
- implements ISystemTransformer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
BIRUnitSystemTransformer
public BIRUnitSystemTransformer()
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.