Reword explanation of relative update for comment operators

This commit is contained in:
neuroevolutus 2023-03-11 20:09:27 -06:00
parent 1302fe75f6
commit dac9524a80
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ Like the `=` and `|=` assign operators, the same syntax applies when updating co
This will set the LHS nodes' comments equal to the expression on the RHS. The RHS is run against the matching nodes in the pipeline This will set the LHS nodes' comments equal to the expression on the RHS. The RHS is run against the matching nodes in the pipeline
### relative form: `|=` ### relative form: `|=`
Similar to the plain form, however the RHS evaluates against each matching LHS node! This is useful if you want to set the comments as a relative expression of the node, for instance its value or path. This is similar to the plain form, but it evaluates the RHS with _each matching LHS node as context_. This is useful if you want to set the comments as a relative expression of the node, for instance its value or path.
## Set line comment ## Set line comment
Set the comment on the key node for more reliability (see below). Set the comment on the key node for more reliability (see below).

View File

@ -8,4 +8,4 @@ Like the `=` and `|=` assign operators, the same syntax applies when updating co
This will set the LHS nodes' comments equal to the expression on the RHS. The RHS is run against the matching nodes in the pipeline This will set the LHS nodes' comments equal to the expression on the RHS. The RHS is run against the matching nodes in the pipeline
### relative form: `|=` ### relative form: `|=`
Similar to the plain form, however the RHS evaluates against each matching LHS node! This is useful if you want to set the comments as a relative expression of the node, for instance its value or path. This is similar to the plain form, but it evaluates the RHS with _each matching LHS node as context_. This is useful if you want to set the comments as a relative expression of the node, for instance its value or path.