Checks if the input can be handled by this class. If it cannot handle the input, rejects with an error explaining why.
A promise resolving if the input can be handled, rejecting with an Error if not.
Finds all quads in a where/deletes/inserts formula. The returned quads will be updated so their graph is the default graph instead of the N3 reference to the formula. Will error in case there are multiple instances of the subject/predicate combination.
Finds all variables in a set of quads.
Handles the given input. This may only be called if canHandle did not reject. When unconditionally calling both in sequence, consider handleSafe instead.
A promise resolving when handling is finished.
Input data that will be handled if it can be handled.
A promise resolving if the input can be handled, rejecting with an Error if not.
Extracts the deletes/inserts/conditions from a solid:InsertDeletePatch entry.
Verifies if the delete/insert triples conform to the specification requirements:
Parses an N3 Patch document and makes sure it conforms to the specification requirements. Requirements can be found at Solid Protocol, ยง5.3.1: https://solid.github.io/specification/protocol#n3-patch