JS: Explain use of monotonicAggregates

This commit is contained in:
Asger F
2025-05-02 13:05:37 +02:00
parent 5c9218fe5a
commit 1f308ee47a

View File

@@ -65,6 +65,7 @@ module ResolveExpr<exprSig/1 shouldResolveExpr> {
or
exists(PathConcatenation join |
node = TValueNode(join) and
// Note: 'monotonicAggregates' above lets us use recursion in the last clause of this aggregate
result =
strictconcat(int n, EarlyStageNode child, string sep |
child = TValueNode(join.getOperand(n)) and sep = join.getSeparator()