public ConstructorParser(IConstructorFactoryFactory factoryFactory) {
init(factoryFactory);
}
public void init(IConstructorFactoryFactory factoryFactory) {
syntaxErrorHandler = new DefaultSyntaxErrorHandler();
factory1 = factoryFactory.getFactory(PHASE1);
factory2 = factoryFactory.getFactory(PHASE2);
data1 = new Data(factory1);
data2 = new Data(factory2);
}