souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
32 class AuxiliaryArityAnalysis :
public Analysis {
34 static constexpr
const char*
name =
"auxiliary-arity";
Analysis(std::string identifier)
Defines a relation with a name, attributes, qualifiers, and internal representation.
The program class consists of relations, clauses and types.
const QualifiedName & getQualifiedName() const
Return qualified name.
void run(const TranslationUnit &translationUnit) override
run analysis for a Ast translation unit
Relation * getRelation(const Program &program, const QualifiedName &name)
Returns the relation with the given name in the program.
Translation unit class for the translation pipeline.
static constexpr const char * name
size_t computeArity(const Relation *relation) const
Returns the number of auxiliary parameters of a relation.
size_t getArity(const Atom *atom) const
Returns the number of auxiliary parameters of an atom's relation.
Program & getProgram() const
Return the program.