Skip to main content

Module transform

Module transform 

Source

Structs§

JsonRecoveryEdit
An edit witnessed by recovery nodes in the original concrete syntax tree.
JsonRecoveryOptions
The actions and optional schema used to recover a JSON value.
JsonRecoveryResult
Recovered source and its parsed value, with a replayable edit report.
JsonRecoverySpan
A half-open range of original UTF-8 bytes.
QuasiquoteTemplate
Quasiquote replacement template with {{capture}} placeholders.
ReplacementReport
Result of replacing query-selected links.
ReplacementRule
Replacement rule used by the query-and-transform surface.
SourceTextPredicateHost
Built-in predicate host for text predicates over query captures.
TextReplacement
One source-text replacement applied to captured token links.

Enums§

JsonRecoveryIssue
A diagnostic that accompanies the repair report.
JsonRepairKind
An operation a caller may enable for JSON recovery.
QuasiquoteError
Error returned while parsing or rendering a quasiquote template.

Functions§

recover_json
Recover one JSON value and report every edit in original UTF-8 byte coordinates.