5#include <QExplicitlySharedDataPointer>
41 std::optional<Path> next()
const;
49 QExplicitlySharedDataPointer<Private> d;
53#include <knowCore/Formatter.h>
54#include <knowCore/Uri.h>
56clog_format_declare_enum_formatter(knowSHACL::Path::Type, Predicate, Alternative, Inverse,
57 ZeroOrMore, OneOrMore, ZeroOrOne, PropertyPath);
65 return format_to(ctx.out(),
"{} {} {}", p.type(), p.predicate(), *p.next());
69 return format_to(ctx.out(),
"{} {}", p.type(), p.predicate());
74 return format_to(ctx.out(),
"invalid path");
bool isValid() const
Definition Path.cpp:19
bool operator==(const Path &_rhs) const
Definition Path.cpp:48
Definition ValidationResults.h:8
Definition Validator.h:20
Definition DefinitionParser_p.h:6