diff --git a/.tsqueryrc.json b/.tsqueryrc.json index 73ab220..0b67c88 100644 --- a/.tsqueryrc.json +++ b/.tsqueryrc.json @@ -143,20 +143,12 @@ "valid_predicates": { "eq": { "description": "Matches if the capture's text is equal to the provided string or another capture", - "parameters": [{ "type": "capture" }, { "type": "string" }] - }, - "not-eq": { - "description": "Matches if the capture's text is not equal to the provided string or another capture", - "parameters": [{ "type": "capture" }, { "type": "string" }] + "parameters": [{ "type": "capture" }, { "type": "any" }] }, "match": { "description": "Matches if the capture's text matches the provided regular expression", "parameters": [{ "type": "capture" }, { "type": "string" }] }, - "not-match": { - "description": "Matches if the capture's text does not match the provided regular expression", - "parameters": [{ "type": "capture" }, { "type": "string" }] - }, "any-of": { "description": "Matches if the capture's text is equal to any of the provided strings", "parameters": [ @@ -166,26 +158,32 @@ }, "any-eq": { "description": "Matches if any node in a quantified capture equals the provided value", - "parameters": [{ "type": "capture" }, { "type": "string" }] + "not": false, + "parameters": [{ "type": "capture" }, { "type": "any" }] }, "any-not-eq": { "description": "Matches if any node in a quantified capture does not equal the provided value", - "parameters": [{ "type": "capture" }, { "type": "string" }] + "not": false, + "parameters": [{ "type": "capture" }, { "type": "any" }] }, "any-match": { "description": "Matches if any node in a quantified capture matches the provided regex", + "not": false, "parameters": [{ "type": "capture" }, { "type": "string" }] }, "any-not-match": { "description": "Matches if any node in a quantified capture does not match the provided regex", + "not": false, "parameters": [{ "type": "capture" }, { "type": "string" }] }, "is": { "description": "Asserts that a capture has a given property", + "not": false, "parameters": [{ "type": "capture" }, { "type": "string" }] }, "is-not": { "description": "Asserts that a capture does not have a given property", + "not": false, "parameters": [{ "type": "capture" }, { "type": "string" }] } },