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