@@ -287,13 +287,14 @@ class ResolvingVisitor extends Visitor<Node, AffineMatrix> {
287
287
}
288
288
289
289
@override
290
- Node visitPatternNode (PatternNode node, AffineMatrix data) {
291
- final AttributedNode ? resolvedPattern = node.resolver (node.patternId);
290
+ Node visitPatternNode (PatternNode patternNode, AffineMatrix data) {
291
+ final AttributedNode ? resolvedPattern =
292
+ patternNode.resolver (patternNode.patternId);
292
293
if (resolvedPattern == null ) {
293
- return node .child.accept (this , data);
294
+ return patternNode .child.accept (this , data);
294
295
}
295
- final Node child = node .child.accept (this , data);
296
- final AffineMatrix childTransform = node .concatTransform (data);
296
+ final Node child = patternNode .child.accept (this , data);
297
+ final AffineMatrix childTransform = patternNode .concatTransform (data);
297
298
final Node pattern = resolvedPattern.accept (this , childTransform);
298
299
299
300
return ResolvedPatternNode (
@@ -304,7 +305,7 @@ class ResolvingVisitor extends Visitor<Node, AffineMatrix> {
304
305
width: resolvedPattern.attributes.width! ,
305
306
height: resolvedPattern.attributes.height! ,
306
307
transform: data,
307
- id: node .patternId,
308
+ id: patternNode .patternId,
308
309
);
309
310
}
310
311
0 commit comments