Determine the auxiliary arity for relations.
More...
#include <AuxArity.h>
|
static constexpr const char * | name = "auxiliary-arity" |
|
Determine the auxiliary arity for relations.
Definition at line 38 of file AuxArity.h.
◆ AuxiliaryArityAnalysis()
souffle::ast::analysis::AuxiliaryArityAnalysis::AuxiliaryArityAnalysis |
( |
| ) |
|
|
inline |
◆ computeArity()
size_t souffle::ast::analysis::AuxiliaryArityAnalysis::computeArity |
( |
const Relation * |
relation | ) |
const |
|
private |
Returns the number of auxiliary parameters of a relation.
- Parameters
-
relation | the relation to report on |
- Returns
- number of auxiliary attributes
Definition at line 28 of file AuxArity.cpp.
Referenced by run().
◆ getArity() [1/2]
size_t souffle::ast::analysis::AuxiliaryArityAnalysis::getArity |
( |
const Atom * |
atom | ) |
const |
|
inline |
Returns the number of auxiliary parameters of an atom's relation.
- Parameters
-
atom | the atom to report on |
- Returns
- number of auxiliary attributes
Definition at line 59 of file AuxArity.h.
◆ getArity() [2/2]
size_t souffle::ast::analysis::AuxiliaryArityAnalysis::getArity |
( |
const Relation * |
relation | ) |
const |
|
inline |
Returns the number of auxiliary parameters of a relation.
- Parameters
-
relation | the relation to report on |
- Returns
- number of auxiliary attributes
Definition at line 68 of file AuxArity.h.
◆ run()
void souffle::ast::analysis::AuxiliaryArityAnalysis::run |
( |
const TranslationUnit & |
| ) |
|
|
inlineoverridevirtual |
◆ name
constexpr const char* souffle::ast::analysis::AuxiliaryArityAnalysis::name = "auxiliary-arity" |
|
staticconstexpr |
◆ program
const Program* souffle::ast::analysis::AuxiliaryArityAnalysis::program = nullptr |
|
private |
The documentation for this class was generated from the following files: