souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
33 const Program& program = translationUnit.getProgram();
39 switch (directive.getType()) {
48 assert(directive.hasParameter(
"n") &&
"limitsize has no n directive");
56 auto show = [](std::ostream& os,
const Relation* r) { os << r->getQualifiedName(); };
void print(std::ostream &os) const override
print the analysis result in HTML format
std::set< const Relation * > printSizeRelations
std::map< const Relation *, std::size_t > limitSize
std::set< const Relation * > limitSizeRelations
Relation * getRelation(const Program &program, const QualifiedName &name)
Returns the relation with the given name in the program.
detail::joined_sequence< Iter, Printer > join(const Iter &a, const Iter &b, const std::string &sep, const Printer &p)
Creates an object to be forwarded to some output stream for printing sequences of elements interspers...
std::set< const Relation * > outputRelations
void run(const TranslationUnit &translationUnit) override
run analysis for a Ast translation unit
void visitDepthFirst(const Node &root, Visitor< R, Ps... > &visitor, Args &... args)
A utility function visiting all nodes within the ast rooted by the given node recursively in a depth-...
std::set< const Relation * > inputRelations