souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
38 class PipelineTransformer :
public MetaTransformer {
40 template <
typename... Args>
42 Own<Transformer> tmp[] = {std::move(args)...};
43 for (
auto& cur : tmp) {
59 i = mk<DebugReporter>(std::move(
i));
75 if (
auto* mt =
dynamic_cast<MetaTransformer*
>(
i.get())) {
76 mt->disableTransformers(transforms);
77 }
else if (transforms.find(
i->getName()) != transforms.end()) {
78 i = mk<NullTransformer>();
83 std::string
getName()
const override {
84 return "PipelineTransformer";
89 for (
const auto& transformer :
pipeline) {
auto clone(const std::vector< A * > &xs)
Translation unit class for the translation pipeline.
std::vector< T * > toPtrVector(const std::vector< std::unique_ptr< T >> &v)
A utility function enabling the creation of a vector of pointers.
std::vector< Own< A > > VecOwn