souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
27 typeAnalysis = translationUnit.getAnalysis<TypeAnalysis>();
static bool isMultiResult(const Functor &functor)
const std::vector< TypeAttribute > & getArgTypes(const UserDefinedFunctor &udf) const
User-Defined functor class.
TypeAttribute getFunctorReturnType(const Functor *functor) const
TypeAttribute getReturnType(const Functor *functor) const
Return return type of functor.
void run(const TranslationUnit &translationUnit) override
run analysis for a Ast translation unit
TypeAttribute getFunctorArgType(const Functor *functor, const size_t idx) const
TypeAttribute getArgType(const Functor *functor, const size_t idx) const
Return argument type of functor.
static bool isMultiResultFunctor(const Functor &functor)
const std::vector< TypeAttribute > & getFunctorArgTypes(const UserDefinedFunctor &udf) const
bool isStatefulFunctor(const UserDefinedFunctor *udf) const
bool isStateful(const UserDefinedFunctor *udf) const
Return whether a UDF is stateful.
const TypeAnalysis * typeAnalysis