souffle
2.0.2-371-g6315b36
|
Transformation pass to replace unnamed variables with singletons. More...
#include <NameUnnamedVariables.h>
Public Member Functions | |
NameUnnamedVariablesTransformer * | 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 unnamed variables with singletons.
E.g.: a() :- b(_). -> a() :- b(x).
Definition at line 40 of file NameUnnamedVariables.h.
|
inlineoverridevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 54 of file NameUnnamedVariables.h.
|
inlineoverridevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 50 of file NameUnnamedVariables.h.
|
overrideprivatevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 36 of file NameUnnamedVariables.cpp.