A unique identifier for this rule.
The query text, in tree-sitter query syntax, used to find the code snippet that can be transformed.
Get a code transformation that introduces a fault in the given match. Returns null
if the match is not transformable.
Optional
options: FaultTransformationOptionsGet the nodes that can be transformed, based on the matches of the query.
Not every query match will be transformable, since the query may be optimized for performance and return more nodes than necessary, or the transformation may not be applicable to all matches.
Represents a rule that defines how to find and transform a specific part of the code to introduce a fault.