use of org.whole.lang.syntaxtrees.builders.SyntaxTreesSpecificBuilderAdapter in project whole by wholeplatform.
the class SyntaxTreesLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new SyntaxTreesLanguageKit());
platform.addOperationFactory(SyntaxTreesLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new SyntaxTreesGenericBuilderAdapter((ISyntaxTreesBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(SyntaxTreesLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new SyntaxTreesSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations