souffle
2.0.2-371-g6315b36
|
Transformation pass to replace singleton variables with unnamed variables. More...
#include <ReplaceSingletonVariables.h>
Public Member Functions | |
ReplaceSingletonVariablesTransformer * | clone () const override |
std::string | getName () const override |
Public Member Functions inherited from souffle::ast::transform::Transformer | |
bool | apply (TranslationUnit &translationUnit) |
virtual | ~Transformer ()=default |
Private Member Functions | |
bool | transform (TranslationUnit &translationUnit) override |
Transformation pass to replace singleton variables with unnamed variables.
E.g.: a() :- b(x). -> a() :- b(_).
Definition at line 32 of file ReplaceSingletonVariables.h.
|
inlineoverridevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 42 of file ReplaceSingletonVariables.h.
|
inlineoverridevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 38 of file ReplaceSingletonVariables.h.
|
overrideprivatevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 38 of file ReplaceSingletonVariables.cpp.