souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
43 class DebugInfo :
public Statement,
public AbstractLog {
60 void print(std::ostream& os,
int tabpos)
const override {
63 os <<
times(
" ", tabpos) <<
"END_DEBUG" << std::endl;
auto map(const std::vector< A > &xs, F &&f)
Applies a function to each element of a vector and returns the results.
void apply(const NodeMapper &map)
DebugInfo * clone() const override
Create a clone (i.e.
const std::string message
Logging message.
std::string stringify(const std::string &input)
Stringify a string using escapes for escape, newline, tab, double-quotes and semicolons.
auto clone(const std::vector< A * > &xs)
An abstract class for manipulating RAM Nodes by substitution.
detail::multiplying_printer< T > times(const T &value, unsigned num)
A utility printing a given value multiple times.
std::vector< const Node * > getChildNodes() const override
Obtain list of all embedded child nodes.
void print(std::ostream &os) const override
Print RAM node.
AbstractLog(Own< Statement > stmt, std::string msg)
void apply(const NodeMapper &map) override
Apply the mapper to all child nodes.
std::vector< const Node * > getChildNodes() const
DebugInfo(Own< Statement > stmt, std::string msg)
void print(std::ostream &os, int tabpos) const override
Pretty print with indentation.
Own< Statement > statement
Logging statement.