Canon¶
-
enum
SerdCanonFlag
¶ Flags that control canonical node transformation.
-
enumerator
SERD_CANON_LAX
¶ Tolerate and pass through invalid input.
-
enumerator
-
typedef uint32_t
SerdCanonFlags
¶ Bitwise OR of SerdCanonFlag values.
-
SerdSink *
serd_canon_new
(const SerdWorld *world, const SerdSink *target, SerdCanonFlags flags)¶ Return a sink that transforms literals to canonical form where possible.
The returned sink acts like
target
in all respects, except literal nodes in statements may be modified from the original.